admin_print_footer_scripts
Prints any scripts and data queued for the footer.
Description
add_action( 'admin_print_footer_scripts', (string) $monsterinsights_settings_ublock_error_js, (int) $int );
Parameters (2)
- 0. $monsterinsights_settings_ublock_error_js (string) =>
'monsterinsights_settings_ublock_error_js'
- The monsterinsights settings ublock error js.
- 1. $int (int) =>
9999999
- The int.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'admin_print_footer_scripts', $monsterinsights_settings_ublock_error_js, $int );
- The following example is for adding a hook callback.
- // define the admin_print_footer_scripts callback
- function action_admin_print_footer_scripts( $monsterinsights_settings_ublock_error_js, $int ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'admin_print_footer_scripts', 'action_admin_print_footer_scripts', 10, 2 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'admin_print_footer_scripts', 'action_admin_print_footer_scripts', 10, 2 );
Defined (1)
The action is defined in the following location(s).
- /includes/admin/common.php
- add_action( 'admin_print_footer_scripts', 'monsterinsights_settings_ublock_error_js', 9999999 );