wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



the_permalink › WordPress Filter Hooks

Da4.4.0
Deprecaton/a
› apply_filters( 'the_permalink', get_permalink( $post )
Parametri: (2)
  • () permalink The permalink for the current post.
    Richiesto: Sì
  • () post Post ID, WP_Post object, or 0. Default 0.
    Richiesto: Sì
Definito a:
Codex:

Filters the display of the permalink for the current post.





Sorgenti

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