admin_footer-(hook_suffix) action-hook . WP 2.8.0
Prints scripts or data after the default footer scripts.
The dynamic portion of the hook name, $hook_suffix, refers to the global hook suffix of the current page.
Usage
add_action( 'admin_footer-(hook_suffix)', 'action_function_name_8374' ); function action_function_name_8374(){ // action... }
Changelog
Since 2.8.0 | Introduced. |
Where the hook is called
In file: /wp-admin/admin-footer.php
admin_footer-(hook_suffix)
wp-admin/admin-footer.php 105
do_action( "admin_footer-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
Where in WP core the hook is used WordPress
wp-admin/admin-footer.php 79
add_action( 'admin_footer-widgets.php', array( 'WP_Widget_Custom_HTML', 'render_control_template_scripts' ) );
wp-admin/admin-footer.php 119
add_action( 'admin_footer-widgets.php', array( $this, 'render_control_template_scripts' ) );
wp-admin/admin-footer.php 70
add_action( 'admin_footer-widgets.php', array( 'WP_Widget_Text', 'render_control_template_scripts' ) );