YoastWPSEOallowlist_permalink_vars
YoastWPSEOallowlist_permalink_vars
Appears in: wordpress-seo.20.10, wordpress-seo.20.11, wordpress-seo.20.12, wordpress-seo.20.5, wordpress-seo.20.6, wordpress-seo.20.7, wordpress-seo.20.8, wordpress-seo.21.0, wordpress-seo.21.1, wordpress-seo.21.2, wordpress-seo.21.4, wordpress-seo.21.5, wordpress-seo.21.7, wordpress-seo.21.8, wordpress-seo.21.8.1, wordpress-seo.21.9.1, wordpress-seo.22.0, wordpress-seo.22.1, wordpress-seo.22.2, wordpress-seo.22.3, wordpress-seo.22.6, wordpress-seo.22.8, wordpress-seo.22.9, wordpress-seo.23.0, wordpress-seo.23.2, wordpress-seo.23.3, wordpress-seo.23.4, wordpress-seo.23.6, wordpress-seo.23.8, wordpress-seo.23.9, wordpress-seo.24.0, wordpress-seo.24.1
Hook Type: filter
Displaying hooks found in version: wordpress-seo.24.1apply_filters('YoastWPSEOallowlist_permalink_vars') is found 1 times:
- /src/helpers/crawl-cleanup-helper.php line 96
* @since 19.2.0 * * @param array $allowed_extravars The list of the allowed vars (empty by default). */ $allowed_extravars = \apply_filters( 'Yoast\WP\SEO\allowlist_permalink_vars', $default_allowed_extravars ); $clean_permalinks_extra_variables = $this->options_helper->get( 'clean_permalinks_extra_variables' ); if ( $clean_permalinks_extra_variables !== '' ) { $allowed_extravars = \array_merge( $allowed_extravars, \explode( ',', $clean_permalinks_extra_variables ) ); }