Developer Resources

A comprehensive list of filters and actions included in our plugin

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.


$ignore_trailing_slash boolean

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