wpml_translate_single_string
wpml_translate_single_string
Appears in: all-in-one-seo-pack.4.4.2, all-in-one-seo-pack.4.4.4, all-in-one-seo-pack.4.4.5.1, all-in-one-seo-pack.4.4.6, all-in-one-seo-pack.4.4.8, all-in-one-seo-pack.4.4.9.1, all-in-one-seo-pack.4.4.9.2, all-in-one-seo-pack.4.5.0, all-in-one-seo-pack.4.5.1.1, all-in-one-seo-pack.4.5.2.1, all-in-one-seo-pack.4.5.3.1, all-in-one-seo-pack.4.5.4, all-in-one-seo-pack.4.5.5, all-in-one-seo-pack.4.5.6, all-in-one-seo-pack.4.5.7.1, all-in-one-seo-pack.4.5.7.2, all-in-one-seo-pack.4.5.7.3, all-in-one-seo-pack.4.5.8, all-in-one-seo-pack.4.5.9.1, all-in-one-seo-pack.4.5.9.2, all-in-one-seo-pack.4.6.2, all-in-one-seo-pack.4.6.4, all-in-one-seo-pack.4.6.5, all-in-one-seo-pack.4.6.6, all-in-one-seo-pack.4.6.8.1, all-in-one-seo-pack.4.6.9.1, all-in-one-seo-pack.4.7.0, all-in-one-seo-pack.4.7.1.1, all-in-one-seo-pack.4.7.3, all-in-one-seo-pack.4.7.4.2, all-in-one-seo-pack.4.7.5.1, all-in-one-seo-pack.4.7.6, all-in-one-seo-pack.4.7.7
Hook Type: filter
Displaying hooks found in version: all-in-one-seo-pack.4.7.7apply_filters('wpml_translate_single_string') is found 2 times:
- /app/Common/Meta/Description.php line 52
$description = aioseo()->options->searchAppearance->global->metaDescription; if ( aioseo()->helpers->isWpmlActive() ) { // Allow WPML to translate the title if the homepage is not static. $description = apply_filters( 'wpml_translate_single_string', $description, 'admin_texts_aioseo_options_localized', '[aioseo_options_localized]searchAppearance_global_metaDescription' ); } $description = $this->helpers->prepare( $description ); return $description ? $description : aioseo()->helpers->decodeHtmlEntities( get_bloginfo( 'description' ) ); }
- /app/Common/Meta/Title.php line 67
$title = aioseo()->options->searchAppearance->global->siteTitle; if ( aioseo()->helpers->isWpmlActive() ) { // Allow WPML to translate the title if the homepage is not static. $title = apply_filters( 'wpml_translate_single_string', $title, 'admin_texts_aioseo_options_localized', '[aioseo_options_localized]searchAppearance_global_siteTitle' ); } $title = $this->helpers->prepare( $title ); return $title ? $title : aioseo()->helpers->decodeHtmlEntities( get_bloginfo( 'name' ) ); }