wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_unique_post_slug › Filtr WordPress Hooks

Od3.3.0
Przestarzałyn/a
› apply_filters( 'wp_unique_post_slug', $slug, $post_id, $post_status, $post_type, $post_parent, $original_slug )
Parametry: (6)
  • () slug The post slug.
    Wymagane: Tak
  • () post_id Post ID.
    Wymagane: Tak
  • () post_status The post status.
    Wymagane: Tak
  • () post_type Post type.
    Wymagane: Tak
  • () post_parent Post parent ID
    Wymagane: Tak
  • () original_slug The original post slug.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the unique post slug.





Źródło

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