admin_footer action-hookWP 1.2.0

Prints scripts or data before the default footer scripts.

Usage

add_action( 'admin_footer', 'wp_kama_admin_footer_action' );

/**
 * Function for `admin_footer` action-hook.
 * 
 * @param string $data The data to print.
 *
 * @return void
 */
function wp_kama_admin_footer_action( $data ){

	// action...
}
$data(string)
The data to print.

Changelog

Since 1.2.0 Introduced.

Where the hook is called

In file: /wp-admin/admin-footer.php
admin_footer
wp-admin/admin-footer.php 78
do_action( 'admin_footer', '' );
wp-admin/includes/template.php 2121
do_action( 'admin_footer', $hook_suffix );

Where the hook is used in WordPress

wp-admin/edit-form-advanced.php 101
add_action( 'admin_footer', '_local_storage_notice' );
wp-admin/edit-form-advanced.php 26
add_action( 'admin_footer', '_admin_notice_post_locked' );
wp-admin/edit-form-advanced.php 36
add_action( 'admin_footer', '_admin_notice_post_locked' );
wp-admin/includes/class-wp-list-table.php 164
add_action( 'admin_footer', array( $this, '_js_vars' ) );
wp-includes/media.php 2608
add_action( 'admin_footer', 'wp_underscore_playlist_templates', 0 );
wp-includes/media.php 4633
add_action( 'admin_footer', 'wp_print_media_templates' );