Skip to content

friends_load_parsers

Alex Kirk edited this page Nov 22, 2024 · 10 revisions

Time to register your parser.

You'll receive the feed object on which you need to call register_parser().

Example

add_action( 'friends_load_parsers', function( Friends\Feed $friends_feed ) {
    $friends_feed->register_parser( 'simplepie', new Feed_Parser_SimplePie( $friends_feed ) );
} );

Parameters

  • Friends\Feed $feed The feed object.

Files

do_action( 'friends_load_parsers', $this->feed )

Hooks

Clone this wiki locally