Prints scripts or data before the default footer scripts.
Parameters
$data
string- The data to print.
Source
do_action( 'admin_footer', '' );
Changelog
Version | Description |
---|---|
1.2.0 | Introduced. |
Prints scripts or data before the default footer scripts.
$data
stringdo_action( 'admin_footer', '' );
Version | Description |
---|---|
1.2.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
Actually, you are not supposed to return data, but rather echo it!
This example should work:
Example migrated from Codex:
Add HTML in the footer of your admin page
Example migrated from Codex:
Adding a JS function
Example migrated from Codex:
Set priority of your action
You can set the priority of your action by passing the third parameter. Lower the number to higher the priority.