wp_head

Fire the wp_head action.

Description

wp_head(); 

See .


Usage

  1. if ( !function_exists( 'wp_head' ) ) { 
  2. require_once ABSPATH . WPINC . '/general-template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wp_head(); 
  7.  

Defined (1)

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

/wp-includes/general-template.php  
  1. function wp_head() { 
  2. /** 
  3. * Prints scripts or data in the head tag on the front end. 
  4. * @since 1.5.0 
  5. */