do_action( "admin_footer-{$hook_suffix}" )
- Since
- 2.8.0
Prints scripts or data after the default footer scripts.
Description
The dynamic portion of the hook name, $hook_suffix, refers to the global hook suffix of the current page.
Compatibility
- WordPress
- since 2.8.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Where this hook fires · 1
wp-admin/admin-footer.php:105file scope
Source code
* * The dynamic portion of the hook name, `$hook_suffix`, * refers to the global hook suffix of the current page. * * @since 2.8.0 */do_action( "admin_footer-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores // get_site_option() won't exist when auto upgrading from <= 2.7.if ( function_exists( 'get_site_option' ) && false === get_site_option( 'can_compress_scripts' )) { compression_test();Changelog
Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.7.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.