Used By
Used By | Description |
---|---|
wp-includes/link-template.php: user_trailingslashit() | Retrieves a trailing-slashed string if the site is set for adding trailing slashes. |
Filters the trailing-slashed string, depending on whether the site is set to use trailing slashes.
(string) URL with or without a trailing slash.
(string) The type of URL being considered. Accepts 'single', 'single_trackback', 'single_feed', 'single_paged', 'commentpaged', 'paged', 'home', 'feed', 'category', 'page', 'year', 'month', 'day', 'post_type_archive'.
Version | Description |
---|---|
2.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/user_trailingslashit