WPSEO_Premium_Popup::__construct()publicYoast 1.0

Wpseo_Premium_Popup constructor.

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

Хуков нет.

Возвращает

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

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

$WPSEO_Premium_Popup = new WPSEO_Premium_Popup();
$WPSEO_Premium_Popup->__construct( $identifier, $heading_level, $title, $content, $url );
$identifier(строка) (обязательный)
An unique identifier for the popup.
$heading_level(строка) (обязательный)
The heading level for the title of the popup.
$title(строка) (обязательный)
The title of the popup.
$content(строка) (обязательный)
The content of the popup.
$url(строка) (обязательный)
The URL for where the button should link to.

Код WPSEO_Premium_Popup::__construct() Yoast 22.4

public function __construct( $identifier, $heading_level, $title, $content, $url ) {
	$this->identifier    = $identifier;
	$this->heading_level = $heading_level;
	$this->title         = $title;
	$this->content       = $content;
	$this->url           = $url;
}