WordPress at a glance
action is not described

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.


add_action( 'admin_footer-(hook_suffix)', 'action_function_name_5501' );
function action_function_name_5501(){
	// action...


Since 2.8.0 Introduced.

Where the hook is called

In file: /wp-admin/admin-footer.php
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-includes/widgets/class-wp-widget-custom-html.php 79
add_action( 'admin_footer-widgets.php', array( 'WP_Widget_Custom_HTML', 'render_control_template_scripts' ) );
wp-includes/widgets/class-wp-widget-media.php 119
add_action( 'admin_footer-widgets.php', array( $this, 'render_control_template_scripts' ) );
wp-includes/widgets/class-wp-widget-text.php 70
add_action( 'admin_footer-widgets.php', array( 'WP_Widget_Text', 'render_control_template_scripts' ) );