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



post_type_link › WordPress Filter Hooks

Da3.0.0
Deprecaton/a
› apply_filters( 'post_type_link', $post_link, $post, $leavename, $sample )
Parametri: (4)
  • () post_link The post's permalink.
    Richiesto: Sì
  • () post The post in question.
    Richiesto: Sì
  • () leavename Whether to keep the post name.
    Richiesto: Sì
  • () sample Is it a sample permalink.
    Richiesto: Sì
Definito a:
Codex:

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





Sorgenti

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