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



post_link › Les Filtres WordPress

Depuis1.5.0
Dépréciéen/a
› apply_filters( 'post_link', $permalink, $post, $leavename )
Paramètres: (3)
  • () permalink The post's permalink.
    Requis: Oui
  • () post The post in question.
    Requis: Oui
  • () leavename Whether to keep the post name.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the permalink for a post.

Only applies to posts with post_type of 'post'.




Source

return apply_filters( 'post_link', $permalink, $post, $leavename );