wphooks.info - feed_link

feed_link

(trunk - 5.0-alpha-42719)

The hook occurs in the following file:

wp-includes/link-template.php:
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
	}

	/**
	 * Filters the feed type permalink.
	 *
	 * @since 1.5.0
	 *
	 * @param string $output The feed permalink.
	 * @param string $feed   Feed type.
	 */
	return apply_filters( 'feed_link', $output, $feed );
}

/**
 * Retrieves the permalink for the post comments feed.
 *
 * @since 2.2.0
 *
 * @param int    $post_id Optional. Post ID. Default is the ID of the global `$post`.
 * @param string $feed    Optional. Feed type. Default empty.