admin_print_footer_scripts-(hook_suffix) action-hook . WP 4.6.0
Prints scripts and data queued for the footer.
The dynamic portion of the hook name, $hook_suffix, refers to the global hook suffix of the current page.
Usage
add_action( 'admin_print_footer_scripts-(hook_suffix)', 'action_function_name_2913' ); function action_function_name_2913(){ // action... }
Changelog
Since 4.6.0 | Introduced. |
Where the hook is called
In file: /wp-admin/admin-footer.php
admin_print_footer_scripts-(hook_suffix)
wp-admin/admin-footer.php 88
do_action( "admin_print_footer_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
wp-admin/includes/template.php 2112
do_action( "admin_print_footer_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores