admin_xml_ns
Fires inside the HTML tag in the admin header.
Description
do_action( 'admin_xml_ns' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'admin_xml_ns' );
- The following example is for adding a hook callback.
- // define the admin_xml_ns callback
- function action_admin_xml_ns( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'admin_xml_ns', 'action_admin_xml_ns', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'admin_xml_ns', 'action_admin_xml_ns', 10, 0 );
Defined (2)
The action is defined in the following location(s).
- /wp-admin/includes/template.php
- do_action( 'admin_xml_ns' );
- do_action( 'admin_xml_ns' );