Yoast\WP\SEO\Services\Importing\Aioseo
Aioseo_Social_Images_Provider_Service::get_default_custom_social_image()
Retrieves the default custom social image if there is any.
Метод класса: Aioseo_Social_Images_Provider_Service{}
Хуков нет.
Возвращает
Строку
. The global default social image.
Использование
$Aioseo_Social_Images_Provider_Service = new Aioseo_Social_Images_Provider_Service(); $Aioseo_Social_Images_Provider_Service->get_default_custom_social_image( $social_setting );
- $social_setting(строка) (обязательный)
- The social settings we're working with, eg. open-graph or twitter.
Код Aioseo_Social_Images_Provider_Service::get_default_custom_social_image() Aioseo Social Images Provider Service::get default custom social image Yoast 24.4
public function get_default_custom_social_image( $social_setting ) { return $this->get_social_defaults( 'custom_image', $social_setting ); }