Yoast\WP\SEO\Presenters

Url_List_Presenter::__constructpublicYoast 1.0

Url_List_Presenter constructor.

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

Хуков нет.

Возвращает

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

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

$Url_List_Presenter = new Url_List_Presenter();
$Url_List_Presenter->__construct( $links, $class_name, $target_blank );
$links(массив) (обязательный)
A list of arrays containing titles and urls.
$class_name(строка)
Classname for the url list.
По умолчанию: 'yoast-url-list'
$target_blank(true|false)
If the url should be target blank.
По умолчанию: false

Код Url_List_Presenter::__construct() Yoast 25.4

public function __construct( $links, $class_name = 'yoast-url-list', $target_blank = false ) {
	$this->links        = $links;
	$this->class_name   = $class_name;
	$this->target_blank = $target_blank;
}