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
3191      $args = wp_parse_args( $args, $defaults );
3192
3193      /**
3194       * Filters the extra feed links arguments.
3195       *
3196       * @since 6.7.0
3197       *
3198       * @param array $args An array of extra feed links arguments.
3199       */
3200      $args = apply_filters( 'feed_links_extra_args', $args );
3201
3202      if ( is_singular() ) {
3203           $id   = 0;
3204           $post = get_post( $id );
3205
3206           /** This filter is documented in wp-includes/general-template.php */
3207           $show_comments_feed = apply_filters( 'feed_links_show_comments_feed', true );
3208
3209           /**