Action hook 'rdf_item'

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

View Source

rdf_item

Action Hook
Description
Fires at the end of each RDF feed item.

Hook Information

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

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

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

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

Source Code Context

wp-includes/feed-rdf.php:95 - How this hook is used in WordPress core
<?php
  90  	/**
  91  	 * Fires at the end of each RDF feed item.
  92  	 *
  93  	 * @since 2.0.0
  94  	 */
  95  	do_action( 'rdf_item' );
  96  	?>
  97  </item>
  98  <?php endwhile; ?>
  99  </rdf:RDF>

PHP Documentation

<?php
/**
	 * Fires at the end of each RDF feed item.
	 *
	 * @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.