Action hook 'load_feed_engine'

in WP Core File wp-includes/rss.php at line 27

View Source

load_feed_engine

Action Hook
Description
Fires before MagpieRSS is loaded, to optionally replace it.

Hook Information

File Location wp-includes/rss.php View on GitHub
Hook Type Action
Line Number 27

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

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

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

Source Code Context

wp-includes/rss.php:27 - How this hook is used in WordPress core
<?php
  22   * Fires before MagpieRSS is loaded, to optionally replace it.
  23   *
  24   * @since 2.3.0
  25   * @deprecated 3.0.0
  26   */
  27  do_action( 'load_feed_engine' );
  28  
  29  /** RSS feed constant. */
  30  define('RSS', 'RSS');
  31  define('ATOM', 'Atom');
  32  define('MAGPIE_USER_AGENT', 'WordPress/' . $GLOBALS['wp_version']);

PHP Documentation

<?php
/**
 * Fires before MagpieRSS is loaded, to optionally replace it.
 *
 * @since 2.3.0
 * @deprecated 3.0.0
 */
Quick Info
  • Hook Type: Action
  • Parameters: 0
  • File: wp-includes/rss.php
Related Hooks

Related hooks will be displayed here in future updates.