Yoast\WP\SEO\Services\Importing\Aioseo

Aioseo_Social_Images_Provider_Service::get_default_social_image_source()publicYoast 1.0

Retrieves the default source of social images.

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

Хуков нет.

Возвращает

Строку. The default source of social images.

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

$Aioseo_Social_Images_Provider_Service = new Aioseo_Social_Images_Provider_Service();
$Aioseo_Social_Images_Provider_Service->get_default_social_image_source( $social_setting );
$social_setting(строка) (обязательный)
The social settings we're working with, eg. open-graph or twitter.

Код Aioseo_Social_Images_Provider_Service::get_default_social_image_source() Yoast 19.2

public function get_default_social_image_source( $social_setting ) {
	return $this->get_social_defaults( 'source', $social_setting );
}