You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$q = "SELECT SUM(LENGTH(option_value)) as autoload_size FROM ".$pf."options WHERE autoload='yes';";
$size = $wpdb->get_var($q);
echo "Size: " . $size;
if ($size > 100000 ) {
$qt = "SELECT option_name, LENGTH(option_value) AS option_value_length FROM ".$pf."options WHERE autoload='yes' ORDER BY option_value_length DESC LIMIT 10;";