Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/link-template.php | apply_filters | 65 | /** * Filters the trailing-slashed string, depending on whether the site is set to use trailing slashes. * * @since 2.2.0 * * @param string $string 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'. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $string | URL with or without a trailing slash. |
string | $type_of_url | The type of URL being considered. Accepts 'single', 'single_trackback', |