Filters the maximum size of option value in bytes.
150000, $option
Sortie :
@param int $max_option_size The option-size threshold, in bytes. Default 150000. @param string $option The name of the option.
// Modifier la valeur avec le filtre 'wp_max_autoloaded_option_size'
add_filter('wp_max_autoloaded_option_size', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(150000) {
// Modifier la valeur
return 150000;
}
Chargement des actualités...