aioseo_sitemap_localization_disable
aioseo_sitemap_localization_disable
Hook Type: filter
Displaying hooks found in version: all-in-one-seo-pack.4.8.1.1apply_filters('aioseo_sitemap_localization_disable') is found 1 times:
- /app/Common/Sitemap/Localization.php line 363233343536373839404142
'defaultLanguage'
=> apply_filters(
'wpml_default_language'
, null ),
'activeLanguages'
=> apply_filters(
'wpml_active_languages'
, null )
];
if
( apply_filters(
'aioseo_sitemap_localization_disable'
,
'__return_false'
) ) {
return
;
}
add_filter(
'aioseo_sitemap_term'
, [
$this
,
'localizeEntry'
], 10, 4 );
add_filter(
'aioseo_sitemap_post'
, [
$this
,
'localizeEntry'
], 10, 4 );
}