Yoast\WP\SEO\Editors\Framework\Seo\Posts

Social_Data_Provider::__construct()publicYoast 1.0

The constructor.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$Social_Data_Provider = new Social_Data_Provider();
$Social_Data_Provider->__construct( $options_helper, $image_helper );
$options_helper(Options_Helper) (обязательный)
The options helper.
$image_helper(Image_Helper) (обязательный)
The image helper.

Код Social_Data_Provider::__construct() Yoast 25.0

public function __construct( Options_Helper $options_helper, Image_Helper $image_helper ) {
	$this->options_helper       = $options_helper;
	$this->use_social_templates = $this->use_social_templates();
	$this->image_helper         = $image_helper;
}