WPSEO_Admin_Help_Panel::get_button_html()
Returns the html for the Help Button.
Метод класса: WPSEO_Admin_Help_Panel{}
Хуков нет.
Возвращает
Строку
.
Использование
$WPSEO_Admin_Help_Panel = new WPSEO_Admin_Help_Panel(); $WPSEO_Admin_Help_Panel->get_button_html();
Код WPSEO_Admin_Help_Panel::get_button_html() WPSEO Admin Help Panel::get button html Yoast 24.1
public function get_button_html() { if ( ! $this->id || ! $this->help_button_text || ! $this->help_content ) { return ''; } return sprintf( ' <button type="button" class="yoast_help yoast-help-button dashicons" id="%1$s-help-toggle" aria-expanded="false" aria-controls="%1$s-help"><span class="yoast-help-icon" aria-hidden="true"></span><span class="screen-reader-text">%2$s</span></button>', esc_attr( $this->id ), $this->help_button_text ); }