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.
  1. // run the action 
  2. do_action( 'admin_xml_ns' ); 
The following example is for adding a hook callback.
  1. // define the admin_xml_ns callback 
  2. function action_admin_xml_ns( ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'admin_xml_ns', 'action_admin_xml_ns', 10, 0 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'admin_xml_ns', 'action_admin_xml_ns', 10, 0 ); 

Defined (2)

The action is defined in the following location(s).

/wpsc-admin/includes/product-variations-page.class.php  
  1. <html xmlns="http://www.w3.org/1999/xhtml" class="ie8 <?php echo $admin_html_class; ?>" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> 
  1. <html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>