block_editor_no_javascript_message

FILTER wp-admin\edit-form-blocks.php (ligne 421) github
Filters the message displayed in the block editor interface when JavaScript is not enabled in the browser.

Paramètres

Entrée :
$message, $post, $installed
Sortie :
@param string  $message   The message being displayed.
@param WP_Post $post      The post being edited.
@param bool    $installed Whether the classic editor is installed.

Utilisation

// Modifier la valeur avec le filtre 'block_editor_no_javascript_message'
add_filter('block_editor_no_javascript_message', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($message) {
    // Modifier la valeur
    return $message;
}

Actualités

Chargement des actualités...