Yoast\WP\SEO\Presenters\Admin

Premium_Badge_Presenter::__construct()publicYoast 1.0

Premium_Badge_Presenter constructor.

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

Хуков нет.

Возвращает

null. Ничего.

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

$Premium_Badge_Presenter = new Premium_Badge_Presenter();
$Premium_Badge_Presenter->__construct( $id, $link );
$id(строка) (обязательный)
Id of the badge.
$link(строка)
Optional link of the badge.
По умолчанию: ''

Код Premium_Badge_Presenter::__construct() Yoast 20.0

public function __construct( $id, $link = '' ) {
	$this->id   = $id;
	$this->link = $link;
}