Welcome, visitor! Log in
 

Source View: load_feed_engine

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

  • Action hooks look like this: do_action( "hook_name" )
  • Filter hooks look like this: apply_filters( "hook_name", "what_to_filter" ).

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
18  */
19 _deprecated_file( basename( __FILE__ ), '3.0', WPINC . '/class-simplepie.php' );
20
21 /**
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']);
33
34 class MagpieRSS {
35      var $parser;
36      var $current_item     = array();     // item currently being parsed