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 |
|---|---|
| 14 | |
| 15 | /** |
| 16 | * Deprecated. Use SimplePie (class-simplepie.php) instead. |
| 17 | */ |
| 18 | _deprecated_file( basename( __FILE__ ), '3.0', WPINC . '/class-simplepie.php' ); |
| 19 | |
| 20 | /* |
| 21 | * Hook to use another RSS object instead of MagpieRSS |
| 22 | */ |
| 23 | do_action('load_feed_engine'); |
| 24 | |
| 25 | /** RSS feed constant. */ |
| 26 | define('RSS', 'RSS'); |
| 27 | define('ATOM', 'Atom'); |
| 28 | define('MAGPIE_USER_AGENT', 'WordPress/' . $GLOBALS['wp_version']); |
| 29 | |
| 30 | class MagpieRSS { |
| 31 | var $parser; |
| 32 | var $current_item = array(); // item currently being parsed |