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



get_sample_permalink › Les Filtres WordPress

Depuis4.4.0
Dépréciéen/a
apply_filters( 'get_sample_permalink', $permalink, $post->ID, $title, $name, $post )
Paramètres: (5)
  • (array) $permalink { Array containing the sample permalink with placeholder for the post name, and the post name. @type string $0 The permalink with placeholder for the post name. @type string $1 The post name. }
    Requis: Oui
  • (int) $post_id Post ID.
    Requis: Oui
  • (string) $title Post title.
    Requis: Oui
  • (string) $name Post name (slug).
    Requis: Oui
  • (WP_Post) $post Post object.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the sample permalink.





Source

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