after_wp_tiny_mce
Fires after any core TinyMCE editor instances are created.
Использование
add_action( 'after_wp_tiny_mce', 'wp_kama_after_wp_tiny_mce_action' ); /** * Function for `after_wp_tiny_mce` action-hook. * * @param array $mce_settings TinyMCE settings array. * * @return void */ function wp_kama_after_wp_tiny_mce_action( $mce_settings ){ // action... }
- $mce_settings(массив)
- TinyMCE settings array.
Список изменений
С версии 3.2.0 | Введена. |
Где вызывается хук
wp-includes/class-wp-editor.php 1745
do_action( 'after_wp_tiny_mce', self::$mce_settings );