WPSEO_Admin_Help_Panel::get_panel_html()
Returns the html for the Help Panel.
Метод класса: WPSEO_Admin_Help_Panel{}
Хуков нет.
Возвращает
Строку
.
Использование
$WPSEO_Admin_Help_Panel = new WPSEO_Admin_Help_Panel(); $WPSEO_Admin_Help_Panel->get_panel_html();
Код WPSEO_Admin_Help_Panel::get_panel_html() WPSEO Admin Help Panel::get panel html Yoast 23.5
public function get_panel_html() { if ( ! $this->id || ! $this->help_button_text || ! $this->help_content ) { return ''; } $wrapper_start = ''; $wrapper_end = ''; if ( $this->wrapper === 'has-wrapper' ) { $wrapper_start = '<div class="yoast-seo-help-container">'; $wrapper_end = '</div>'; } return sprintf( '%1$s<p id="%2$s-help" class="yoast-help-panel">%3$s</p>%4$s', $wrapper_start, esc_attr( $this->id ), $this->help_content, $wrapper_end ); }