nocache_headers

nocache_headers

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('nocache_headers') is found 1 times:

  • /wp-includes/functions.php line 1514
    		 * @see wp_get_nocache_headers()
    		 *
    		 * @param array $headers Header names and field values.
    		 */
    		$headers = (array) apply_filters( 'nocache_headers', $headers );
    	}
    	$headers['Last-Modified'] = false;
    	return $headers;
    }
    
    /**
    

See this hook used in plugins: