Yoast\WP\SEO\Helpers

Social_Profiles_Helper::get_organization_social_profile_fields()publicYoast 1.0

Gets the organization social profile fields supported by us.

Метод класса: Social_Profiles_Helper{}

Хуки из метода

Возвращает

Массив. The organization profile fields.

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

$Social_Profiles_Helper = new Social_Profiles_Helper();
$Social_Profiles_Helper->get_organization_social_profile_fields();

Код Social_Profiles_Helper::get_organization_social_profile_fields() Yoast 22.3

public function get_organization_social_profile_fields() {
	/**
	 * Filter: Allow changes to the social profiles fields available for an organization.
	 *
	 * @param array $organization_social_profile_fields The social profile fields.
	 */
	$organization_social_profile_fields = \apply_filters( 'wpseo_organization_social_profile_fields', $this->organization_social_profile_fields );

	return (array) $organization_social_profile_fields;
}