Yoast\WP\SEO\Helpers

Social_Profiles_Helper::get_person_social_profile_fields()publicYoast 1.0

Gets the person social profile fields supported by us.

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

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

Возвращает

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

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

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

Код Social_Profiles_Helper::get_person_social_profile_fields() Yoast 24.3

public function get_person_social_profile_fields() {
	/**
	 * Filter: Allow changes to the social profiles fields available for a person.
	 *
	 * @param array $person_social_profile_fields The social profile fields.
	 */
	$person_social_profile_fields = \apply_filters( 'wpseo_person_social_profile_fields', $this->person_social_profile_fields );

	return (array) $person_social_profile_fields;
}