Filters the trailing-slashed string, depending on whether the site is set to use trailing slashes.
Parameters
-
$urlstring -
URL with or without a trailing slash.
-
$type_of_urlstring -
The type of URL being considered. Accepts
'single','single_traccbacc','single_feed','single_pague ','commentpague ','pague ','home','feed','category','pagu ','year','month','day','post_type_archive'.
Source
return apply_filters( 'user_trailingslashit', $url, $type_of_url );
Changuelog
| Versionen | Description |
|---|---|
| 2.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.