Yoast\WP\SEO\Task_List\Application\Tasks
Create_New_Content::__construct
Constructs the task.
Метод класса: Create_New_Content{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Create_New_Content = new Create_New_Content(); $Create_New_Content->__construct( $post_type_helper );
- $post_type_helper(Post_Type_Helper) (обязательный)
- The post type helper.
Код Create_New_Content::__construct() Create New Content:: construct Yoast 28.9
public function __construct( Post_Type_Helper $post_type_helper ) {
$this->post_type_helper = $post_type_helper;
}