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 2163
do_action( 'wp_print_footer_scripts' );

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

wp-includes/class-wp-editor.php 324
add_action( 'wp_print_footer_scripts', array( __CLASS__, 'editor_js' ), 50 );
wp-includes/class-wp-editor.php 325
add_action( 'wp_print_footer_scripts', array( __CLASS__, 'force_uncompressed_tinymce' ), 1 );
wp-includes/class-wp-editor.php 326
add_action( 'wp_print_footer_scripts', array( __CLASS__, 'enqueue_scripts' ), 1 );
wp-includes/class-wp-editor.php 913
add_action( 'wp_print_footer_scripts', array( __CLASS__, 'force_uncompressed_tinymce' ), 1 );
wp-includes/class-wp-editor.php 914
add_action( 'wp_print_footer_scripts', array( __CLASS__, 'print_default_editor_scripts' ), 45 );
wp-includes/default-filters.php 345
add_action( 'wp_print_footer_scripts', '_wp_footer_scripts' );
wp-includes/functions.php 7099
add_action( 'wp_print_footer_scripts', 'wp_auth_check_html', 5 );