Filters settings that are passed into the code editor. Returning a falsey value will disable the syntax-highlighting code editor.
$settings, $args
Sortie :
@param array $settings The array of settings passed to the code editor.
@param array $args {
// Modifier la valeur avec le filtre 'wp_code_editor_settings'
add_filter('wp_code_editor_settings', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($settings) {
// Modifier la valeur
return $settings;
}
Chargement des actualités...