Yoast\WP\SEO\Actions\Configuration

First_Time_Configuration_Action::get_person_social_profiles()publicYoast 1.0

Gets the values for the social profiles.

{} Это метод класса: First_Time_Configuration_Action{}

Хуков нет.

Возвращает

Объект. The response object.

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

$First_Time_Configuration_Action = new First_Time_Configuration_Action();
$First_Time_Configuration_Action->get_person_social_profiles( $user_id );
$user_id(int) (обязательный)
the person id.

Код First_Time_Configuration_Action::get_person_social_profiles() Yoast 19.2

public function get_person_social_profiles( $user_id ) {

	return (object) [
		'success'         => true,
		'status'          => 200,
		'social_profiles' => $this->social_profiles_helper->get_person_social_profiles( $user_id ),
	];
}