Yoast\WP\SEO\Introductions\Application
Black_Friday_Announcement::__construct
Constructs the introduction.
Метод класса: Black_Friday_Announcement{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Black_Friday_Announcement = new Black_Friday_Announcement(); $Black_Friday_Announcement->__construct( $current_page_helper, $promotion_manager, $product_helper );
- $current_page_helper(Current_Page_Helper) (обязательный)
- The current page helper.
- $promotion_manager(Promotion_Manager) (обязательный)
- The promotion manager.
- $product_helper(Product_Helper) (обязательный)
- The product helper.
Код Black_Friday_Announcement::__construct() Black Friday Announcement:: construct Yoast 28.9
public function __construct(
Current_Page_Helper $current_page_helper,
Promotion_Manager $promotion_manager,
Product_Helper $product_helper
) {
$this->current_page_helper = $current_page_helper;
$this->promotion_manager = $promotion_manager;
$this->product_helper = $product_helper;
}