_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

Truncate a post slug.

Related Functions

wp_unique_post_slug, _transition_post_status, wp_update_post, wp_count_posts, update_post_caches

Top Google Results

User discussions

wpseek mobile