WPSEO_Metabox_Collapsible::__construct
Constructor.
Метод класса: WPSEO_Metabox_Collapsible{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WPSEO_Metabox_Collapsible = new WPSEO_Metabox_Collapsible(); $WPSEO_Metabox_Collapsible->__construct( $name, $content, $link_content );
- $name(строка) (обязательный)
- The name of the tab, used as an identifier in the html.
- $content(строка) (обязательный)
- The tab content.
- $link_content(строка) (обязательный)
- The text content of the tab link.
Код WPSEO_Metabox_Collapsible::__construct() WPSEO Metabox Collapsible:: construct Yoast 27.3
public function __construct( $name, $content, $link_content ) {
$this->name = $name;
$this->content = $content;
$this->link_content = $link_content;
}