wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



post_link › WordPress Filter Hooks

Da1.5.0
Deprecaton/a
› apply_filters( 'post_link', $permalink, $post, $leavename )
Parametri: (3)
  • () permalink The post's permalink.
    Richiesto: Sì
  • () post The post in question.
    Richiesto: Sì
  • () leavename Whether to keep the post name.
    Richiesto: Sì
Definito a:
Codex:

Filters the permalink for a post.

Only applies to posts with post_type of 'post'.




Sorgenti

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