Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: feed_links_extra_args

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.

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
3319      $args = wp_parse_args( $args, $defaults );
3320
3321      /**
3322       * Filters the extra feed links arguments.
3323       *
3324       * @since 6.7.0
3325       *
3326       * @param array $args An array of extra feed links arguments.
3327       */
3328      $args = apply_filters( 'feed_links_extra_args', $args );
3329
3330      if ( is_singular() ) {
3331           $id   = 0;
3332           $post = get_post( $id );
3333
3334           /** This filter is documented in wp-includes/general-template.php */
3335           $show_comments_feed = apply_filters( 'feed_links_show_comments_feed', true );
3336
3337           /**