wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



get_sample_permalink › WordPress Filter Hooks

Seit4.4.0
Veraltetn/v
apply_filters( 'get_sample_permalink', $permalink, $post->ID, $title, $name, $post )
Parameter: (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. }
    Erforderlich: Ja
  • (int) $post_id Post ID.
    Erforderlich: Ja
  • (string) $title Post title.
    Erforderlich: Ja
  • (string) $name Post name (slug).
    Erforderlich: Ja
  • (WP_Post) $post Post object.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the sample permalink.





Quellcode

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