WPSEO_Metabox_Collapsibles_Sections::__construct
Constructor.
Метод класса: WPSEO_Metabox_Collapsibles_Sections{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WPSEO_Metabox_Collapsibles_Sections = new WPSEO_Metabox_Collapsibles_Sections(); $WPSEO_Metabox_Collapsibles_Sections->__construct( $name, $link_content, $collapsibles, $options );
- $name(строка) (обязательный)
- The name of the section, used as an identifier in the html. Can only contain URL safe characters.
- $link_content(строка) (обязательный)
- The text content of the section link.
- $collapsibles(массив)
- The metabox collapsibles (
WPSEO_Metabox_Collapsible[]) to be included in the section.
По умолчанию:[] - $options(массив)
- Optional link attributes.
По умолчанию:[]
Код WPSEO_Metabox_Collapsibles_Sections::__construct() WPSEO Metabox Collapsibles Sections:: construct Yoast 26.9
public function __construct( $name, $link_content, array $collapsibles = [], array $options = [] ) {
parent::__construct( $name, $link_content, $options );
$this->collapsibles = $collapsibles;
}