Filters the trailing-slashed string, depending on whether the site is set to use trailing slashes.
$urlstring$type_of_urlstringwp-includes/link-template.php:65user_trailingslashit() * * @param string $url URL with or without a trailing slash. * @param string $type_of_url 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'. */ return apply_filters( 'user_trailingslashit', $url, $type_of_url );} /** * Displays the permalink anchor for the current post. * * The permalink mode title will use the post title for the 'a' element 'id'Introduced in 2.2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.