wp-content/themes/twentyfourteen/inc/featured-content.php:113Get featured posts.
array public static function get_featured_posts() { $post_ids = self::get_featured_post_ids(); // No need to query if there is are no featured posts. if ( empty( $post_ids ) ) { return array(); } $featured_posts = get_posts( array( 'include' => $post_ids, 'posts_per_page' => count( $post_ids ), ) ); return $featured_posts; }Introduced in Twenty Fourteen 1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentyfourteen/inc/featured-content.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.