_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, _find_post_by_old_slug

Top Google Results

User discussions

wpseek mobile