Yoast\WP\SEO\Conditionals
Primary_Category_Conditional::__construct()
Primary_Category_Conditional constructor.
Метод класса: Primary_Category_Conditional{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Primary_Category_Conditional = new Primary_Category_Conditional(); $Primary_Category_Conditional->__construct( $current_page );
- $current_page(Current_Page_Helper) (обязательный)
- The current page helper.
Код Primary_Category_Conditional::__construct() Primary Category Conditional:: construct Yoast 22.4
public function __construct( Current_Page_Helper $current_page ) { $this->current_page = $current_page; }