twentyfourteen_get_featured_posts

FUNCTION wp-content\themes\twentyfourteen\functions.php (ligne 237) github
Getter function for Featured Content Plugin.

Paramètres

Entrée :
N/A
Sortie :
@return array An array of WP_Post objects.

Utilisation

// Utilisation de la fonction twentyfourteen_get_featured_posts
$result = twentyfourteen_get_featured_posts();

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...