get_bookmarks

FUNCTION wp-includes\bookmark.php (ligne 97) github
Retrieves the list of bookmarks. Attempts to retrieve from the cache first based on MD5 hash of arguments. If that fails, then the query will be built from the arguments and executed. The results will be stored to the cache.

Paramètres

Entrée :
$args = ''
Sortie :
@param string|array $args {
@return object[] List of bookmark row objects.

Utilisation

// Utilisation de la fonction get_bookmarks
$result = get_bookmarks($args = '');

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

Actualités

Chargement des actualités...