Allows to determine the default autoload value for an option where no explicit value is passed.
null, $option, $value, $serialized_value
Sortie :
@param bool|null $autoload The default autoload value to set. Returning true will be set as 'auto-on' in the @param string $option The passed option name. @param mixed $value The passed option value to be saved.
// Modifier la valeur avec le filtre 'wp_default_autoload_value'
add_filter('wp_default_autoload_value', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(null) {
// Modifier la valeur
return null;
}
Chargement des actualités...