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



wp_unique_post_slug › WordPress Filter Hooks

Seit3.3.0
Veraltetn/v
apply_filters( 'wp_unique_post_slug', $slug, $post_id, $post_status, $post_type, $post_parent, $original_slug )
Parameter: (6)
  • () slug The post slug.
    Erforderlich: Ja
  • () post_id Post ID.
    Erforderlich: Ja
  • () post_status The post status.
    Erforderlich: Ja
  • () post_type Post type.
    Erforderlich: Ja
  • () post_parent Post parent ID
    Erforderlich: Ja
  • () original_slug The original post slug.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the unique post slug.





Quellcode

return apply_filters( 'wp_unique_post_slug', $slug, $post_id, $post_status, $post_type, $post_parent, $original_slug );