Hooks / nab_ignore_trailing_slash_in_alternative_loading

apply_filters( 'nab_ignore_trailing_slash_in_alternative_loading', boolean $ignore_trailing_slash )

Filters whether alternative content loading should ignore the trailing slash in a URL when comparing the current URL and the URL of the alternative the visitor is supposed to see.


If it’s set to ignore, https://example.com/some-page and https://example.com/some-page/ will be considered the same page. Otherwise, they’ll be different.



(boolean) (Required) whether to ignore the trailing slash or not.