Filters whether the user can access the visual editor.
N/A
Sortie :
@param bool $wp_rich_edit Whether the user can access the visual editor. @return string Either 'tinymce', 'html', or 'test'
// Utilisation de la fonction wp_default_editor
$result = wp_default_editor();
if ($result) {
// Votre logique ici
}
Chargement des actualités...