array( 'title' => __( 'Clean All', 'litespeed-cache' ), 'desc' => '', ), 'revision' => array( 'title' => __( 'Post Revisions', 'litespeed-cache' ), 'desc' => __( 'Clean all post revisions', 'litespeed-cache' ), ), 'auto_draft' => array( 'title' => __( 'Auto Drafts', 'litespeed-cache' ), 'desc' => __( 'Clean all auto saved drafts', 'litespeed-cache' ), ), 'trash_post' => array( 'title' => __( 'Trashed Posts', 'litespeed-cache' ), 'desc' => __( 'Clean all trashed posts and pages', 'litespeed-cache' ), ), 'spam_comment' => array( 'title' => __( 'Spam Comments', 'litespeed-cache' ), 'desc' => __( 'Clean all spam comments', 'litespeed-cache' ), ), 'trash_comment' => array( 'title' => __( 'Trashed Comments', 'litespeed-cache' ), 'desc' => __( 'Clean all trashed comments', 'litespeed-cache' ), ), 'trackback-pingback' => array( 'title' => __( 'Trackbacks/Pingbacks', 'litespeed-cache' ), 'desc' => __( 'Clean all trackbacks and pingbacks', 'litespeed-cache' ), ), 'expired_transient' => array( 'title' => __( 'Expired Transients', 'litespeed-cache' ), 'desc' => __( 'Clean expired transient options', 'litespeed-cache' ), ), 'all_transients' => array( 'title' => __( 'All Transients', 'litespeed-cache' ), 'desc' => __( 'Clean all transient options', 'litespeed-cache' ), ), 'optimize_tables' => array( 'title' => __( 'Optimize Tables', 'litespeed-cache' ), 'desc' => __( 'Optimize all tables in your database', 'litespeed-cache' ), ), ); $rev_max = $this->conf( Base::O_DB_OPTM_REVISIONS_MAX ); $rev_age = $this->conf( Base::O_DB_OPTM_REVISIONS_AGE ); if ( $rev_max || $rev_age ) { $_panels[ 'revision' ][ 'desc' ] = sprintf( __( 'Clean revisions older than %1$s day(s), excluding %2$s latest revisions', 'litespeed-cache' ), '' . $rev_age . '' , '' . $rev_max . '' ); } $total = 0; foreach ( $_panels as $tag => $v ) { if ( $tag != 'all' ) { $_panels[ $tag ][ 'count' ] = $this->cls( 'DB_Optm' )->db_count( $tag ); if ( ! in_array( $tag, array( 'optimize_tables' ) ) ) { $total += $_panels[ $tag ][ 'count' ]; } } $_panels[ $tag ][ 'link' ] = Utility::build_url( Router::ACTION_DB_OPTM, $tag ); } $_panels[ 'all' ][ 'count' ] = $total; $autoload_summary = DB_Optm::cls()->autoload_summary(); ?>

$v ): ?>
()

list_myisam(); if ( $list ) : foreach ( $list as $k => $v ) : ?>
#
TABLE_NAME; ?> ENGINE; ?>

Autoload size: autoload_size ); ?>

Autoload entries: autload_entries; ?>

Autoload top list:

autoload_toplist as $k => $v ) : ?>
#
option_name; ?> option_value_length; ?>