the_permalink

FUNCTION wp-includes\link-template.php (ligne 2) github
WordPress Link Template Functions

Paramètres

Entrée :
$post = 0
Sortie :
@param int|WP_Post $post Optional. Post ID or post object. Default is the global `$post`.

Utilisation

// Utilisation de la fonction the_permalink
$result = the_permalink($post = 0);

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

Actualités

Chargement des actualités...