wp_print_footer_scripts хук-событиеWP 2.8.0

Fires when footer scripts are printed.

Использование

add_action( 'wp_print_footer_scripts', 'wp_kama_print_footer_scripts_action' );

/**
 * Function for `wp_print_footer_scripts` action-hook.
 * 
 * @return void
 */
function wp_kama_print_footer_scripts_action(){

	// action...
}

Список изменений

С версии 2.8.0 Введена.

Где вызывается хук

wp_print_footer_scripts()
wp_print_footer_scripts
wp-includes/script-loader.php 2248
do_action( 'wp_print_footer_scripts' );

Где используется хук в WordPress

wp-includes/class-wp-editor.php 326
add_action( 'wp_print_footer_scripts', array( __CLASS__, 'editor_js' ), 50 );
wp-includes/class-wp-editor.php 327
add_action( 'wp_print_footer_scripts', array( __CLASS__, 'force_uncompressed_tinymce' ), 1 );
wp-includes/class-wp-editor.php 328
add_action( 'wp_print_footer_scripts', array( __CLASS__, 'enqueue_scripts' ), 1 );
wp-includes/class-wp-editor.php 921
add_action( 'wp_print_footer_scripts', array( __CLASS__, 'force_uncompressed_tinymce' ), 1 );
wp-includes/class-wp-editor.php 922
add_action( 'wp_print_footer_scripts', array( __CLASS__, 'print_default_editor_scripts' ), 45 );
wp-includes/default-filters.php 353
add_action( 'wp_print_footer_scripts', '_wp_footer_scripts' );
wp-includes/functions.php 7365
add_action( 'wp_print_footer_scripts', 'wp_auth_check_html', 5 );