wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



the_permalink › Les Filtres WordPress

Depuis4.4.0
Dépréciéen/a
› apply_filters( 'the_permalink', get_permalink( $post )
Paramètres: (2)
  • () permalink The permalink for the current post.
    Requis: Oui
  • () post Post ID, WP_Post object, or 0. Default 0.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the display of the permalink for the current post.





Source

echo esc_url( apply_filters( 'the_permalink', get_permalink( $post ), $post ) );