WP HOOKS
akcjaod 3.9.0

wp_enqueue_editor

Args 1Plik wp-includes/class-wp-editor.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires when scripts and styles are enqueued for the editor.

Parametry

ParametrTypOpis
$to_loadarrayAn array containing boolean values whether TinyMCE and Quicktags are being loaded.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_action( 'wp_enqueue_editor', 'twoja_funkcja' );

function twoja_funkcja($param_1) {
	// Twój kod
}