admin_footer WordPress Action Hook

The admin_footer hook is a great way to add extra content to the footer of your WordPress admin pages. This is perfect for customizing your admin area with links, information, or anything else you might want to include.

do_action( 'admin_footer', string $data ) #

Prints scripts or data before the default footer scripts.


Parameters

$data

(string)The data to print.


Top ↑

More Information

The admin_footer action is triggered just after closing the <div id=”wpfooter”> tag and right before admin_print_footer_scripts action call of the admin-footer.php page.

This hook is for admin only and can’t be used to add anything on the front end.


Top ↑

Source

File: wp-admin/admin-footer.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
1.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.