wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



the_permalink › Filtr WordPress Hooks

Od4.4.0
Przestarzałyn/a
› apply_filters( 'the_permalink', get_permalink( $post )
Parametry: (2)
  • () permalink The permalink for the current post.
    Wymagane: Tak
  • () post Post ID, WP_Post object, or 0. Default 0.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the display of the permalink for the current post.





Źródło

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