wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_truncate_slug is private and should not be used in themes or plugins directly.
wp_truncate_slug › WordPress Function
Depuis7.2.0
Dépréciéen/a
› wp_truncate_slug ( $slug, $length = 200 )
| Accès: |
|
| Paramètres: (2) |
|
| Voir: | |
| Retourne: |
|
| Défini(e) dans: |
|
| Codex: |
Truncates a slug to a given length.
Non-ASCII slugs are stored percent-encoded, so the slug is truncated on a character boundary to avoid cutting a percent-encoded sequence in half.Fonctions en relation: _truncate_post_slug, wp_unique_term_slug, wp_update_plugin, wp_update_plugins, wp_trusted_keys