_truncate_post_slug
- %1$s is private and should not be used in themes or plugins directly.
_truncate_post_slug ( $slug, $length = 200 )
Access: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: - Introduced in WordPress: 3.6.0
- Deprecated in WordPress: —
Description
Truncates a post slug.