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



pre_post_link › WordPress Filter Hooks

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

Filters the permalink structure for a post before token replacement occurs.

Only applies to posts with post_type of 'post'.




Sorgenti

$permalink = apply_filters( 'pre_post_link', $permalink, $post, $leavename );