wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



the_permalink › WordPress Filter Hooks

Seit4.4.0
Veraltetn/v
› apply_filters( 'the_permalink', get_permalink( $post )
Parameter: (2)
  • () permalink The permalink for the current post.
    Erforderlich: Ja
  • () post Post ID, WP_Post object, or 0. Default 0.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the display of the permalink for the current post.





Quellcode

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