get_header, $name, $args

get_header, $name, $args

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('get_header, $name, $args') is found 1 times:

  • /wp-includes/general-template.php line 38
    	 *
    	 * @param string|null $name Name of the specific header file to use. Null for the default header.
    	 * @param array       $args Additional arguments passed to the header template.
    	 */
    	do_action( 'get_header', $name, $args );
    
    	$templates = array();
    	$name      = (string) $name;
    	if ( '' !== $name ) {
    		$templates[] = "header-{$name}.php";
    	}