Yoast\WP\SEO\Abilities\User_Interface\Abilities
Get_Post_SEO_Data_Ability::__construct
Constructor.
Метод класса: Get_Post_SEO_Data_Ability{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Get_Post_SEO_Data_Ability = new Get_Post_SEO_Data_Ability(); $Get_Post_SEO_Data_Ability->__construct( $capability_helper, $should_index_indexables_conditional, $post_seo_data_collector );
- $capability_helper(Capability_Helper) (обязательный)
- The capability helper.
- $should_index_indexables_conditional(Should_Index_Indexables_Conditional) (обязательный)
- The should index indexables conditional.
- $post_seo_data_collector(Post_SEO_Data_Collector) (обязательный)
- The post SEO data collector.
Код Get_Post_SEO_Data_Ability::__construct() Get Post SEO Data Ability:: construct Yoast 28.9
public function __construct(
Capability_Helper $capability_helper,
Should_Index_Indexables_Conditional $should_index_indexables_conditional,
Post_SEO_Data_Collector $post_seo_data_collector
) {
parent::__construct( $capability_helper, $should_index_indexables_conditional );
$this->post_seo_data_collector = $post_seo_data_collector;
}