Un motore di ricerca WordPress per sviluppatori e autori di temi



get_sample_permalink ›

Da4.4.0
Deprecaton/a
apply_filters( 'get_sample_permalink', $permalink, $post->ID, $title, $name, $post )
Parametri: (5)
  • (array) $permalink Array containing the sample permalink with placeholder for the post name, and the post name.
    Richiesto:
  • (int) $post_id Post ID.
    Richiesto:
  • (string) $title Post title.
    Richiesto:
  • (string) $name Post name (slug).
    Richiesto:
  • (WP_Post) $post Post object.
    Richiesto:
Definito a:
Codex:

Filters the sample permalink.





Sorgenti

return apply_filters( 'get_sample_permalink', $permalink, $post->ID, $title, $name, $post );