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



post_type_link › Filtr WordPress Hooks

Od3.0.0
Przestarzałyn/a
› apply_filters( 'post_type_link', $post_link, $post, $leavename, $sample )
Parametry: (4)
  • () post_link The post's permalink.
    Wymagane: Tak
  • () post The post in question.
    Wymagane: Tak
  • () leavename Whether to keep the post name.
    Wymagane: Tak
  • () sample Is it a sample permalink.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the permalink for a post of a custom post type.





Źródło

return apply_filters( 'post_type_link', $post_link, $post, $leavename, $sample );