wp_feed_options

动作钩子


do_action_ref_array( 'wp_feed_options', array( &$feed, $url )
参数
  • (SimplePie)
    $feed
    SimplePie feed object (passed by reference).
    Required:
  • (string|string[])
    $url
    URL of feed or array of URLs of feeds to retrieve.
    Required:
定义位置
  • wp-includes/feed.php
    , line 827
引入
3.0.0
弃用

Fires just before processing the SimplePie feed object.

do_action_ref_array( 'wp_feed_options', array( &$feed, $url ) );