wpseo_schema_organization_social_profiles хук-фильтрYoast 1.0

Filter: wpseo_schema_organization_social_profiles Allows filtering social profiles for the represented organization.

Использование

add_filter( 'wpseo_schema_organization_social_profiles', 'wp_kama_wpseo_schema_organization_social_profiles_filter' );

/**
 * Function for `wpseo_schema_organization_social_profiles` filter-hook.
 * 
 * @param string[] $profiles 
 *
 * @return string[]
 */
function wp_kama_wpseo_schema_organization_social_profiles_filter( $profiles ){

	// filter...
	return $profiles;
}
$profiles(string[])
-

Где вызывается хук

Organization::fetch_social_profiles()
wpseo_schema_organization_social_profiles
yoast/src/generators/schema/organization.php 83
$profiles = \apply_filters( 'wpseo_schema_organization_social_profiles', $profiles );

Где используется хук в Yoast SEO

Использование не найдено.