Action hook 'rdf_header'

in WP Core File wp-includes/feed-rdf.php at line 56

View Source

rdf_header

Action Hook
Description
Fires at the end of the RDF feed header.

Hook Information

File Location wp-includes/feed-rdf.php View on GitHub
Hook Type Action
Line Number 56

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

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

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

Source Code Context

wp-includes/feed-rdf.php:56 - How this hook is used in WordPress core
<?php
  51  	/**
  52  	 * Fires at the end of the RDF feed header.
  53  	 *
  54  	 * @since 2.0.0
  55  	 */
  56  	do_action( 'rdf_header' );
  57  	?>
  58  	<items>
  59  		<rdf:Seq>
  60  		<?php
  61  		while ( have_posts() ) :

PHP Documentation

<?php
/**
	 * Fires at the end of the RDF feed header.
	 *
	 * @since 2.0.0
	 */
Quick Info
  • Hook Type: Action
  • Parameters: 0
  • File: wp-includes/feed-rdf.php
Related Hooks

Related hooks will be displayed here in future updates.