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



post_type_link › WordPress Filter Hooks

Seit3.0.0
Veraltetn/v
apply_filters( 'post_type_link', $post_link, $post, $leavename, $sample )
Parameter: (4)
  • () post_link The post's permalink.
    Erforderlich: Ja
  • () post The post in question.
    Erforderlich: Ja
  • () leavename Whether to keep the post name.
    Erforderlich: Ja
  • () sample Is it a sample permalink.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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