_truncate_post_slug


_truncate_post_slug ( $slug, $length = 200 )

Access:
  • private
Parameters:
  • (string) slug The slug to truncate.
  • (int) length Optional. Max length of the slug. Default 200 (characters).
See:
Returns:
  • (string) The truncated slug.
Defined at:

Description

Truncates a post slug.

Related Functions

wp_unique_post_slug, _transition_post_status, wp_count_posts, wp_update_post, update_post_caches

Top Google Results

User discussions

wpseek mobile