Action hook 'admin_xml_ns'

in WP Core File wp-admin/includes/template.php at line 2657

View Source

admin_xml_ns

Action Hook
Description
Fires inside the HTML tag in the admin header.

Hook Information

File Location wp-admin/includes/template.php View on GitHub
Hook Type Action
Line Number 2657

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

Basic Usage
<?php
// Hook into admin_xml_ns
add_action('admin_xml_ns', 'my_custom_function');

function my_custom_function() {
    // Your custom code here
}

Source Code Context

wp-admin/includes/template.php:2657 - How this hook is used in WordPress core
<?php
2652  	/**
2653  	 * Fires inside the HTML tag in the admin header.
2654  	 *
2655  	 * @since 2.2.0
2656  	 */
2657  	do_action( 'admin_xml_ns' );
2658  
2659  	language_attributes();
2660  	?>
2661  >
2662  <head>

PHP Documentation

<?php
/**
	 * Fires inside the HTML tag in the admin header.
	 *
	 * @since 2.2.0
	 */
Quick Info
  • Hook Type: Action
  • Parameters: 0
  • File: wp-admin/includes/template.php
Related Hooks

Related hooks will be displayed here in future updates.