WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )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.
| 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 |