wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



post_type_link › Les Filtres WordPress

Depuis3.0.0
Dépréciéen/a
› apply_filters( 'post_type_link', $post_link, $post, $leavename, $sample )
Paramètres: (4)
  • () post_link The post's permalink.
    Requis: Oui
  • () post The post in question.
    Requis: Oui
  • () leavename Whether to keep the post name.
    Requis: Oui
  • () sample Is it a sample permalink.
    Requis: Oui
Défini(e) dans:
Codex:

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





Source

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