WPSEO_Admin_Settings_Changed_Listener::show_success_message()
Renders a success message if the Yoast SEO settings have been saved.
Метод класса: WPSEO_Admin_Settings_Changed_Listener{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WPSEO_Admin_Settings_Changed_Listener = new WPSEO_Admin_Settings_Changed_Listener(); $WPSEO_Admin_Settings_Changed_Listener->show_success_message();
Код WPSEO_Admin_Settings_Changed_Listener::show_success_message() WPSEO Admin Settings Changed Listener::show success message Yoast 24.0
public function show_success_message() { if ( $this->have_settings_been_saved() ) { echo '<p class="wpseo-message"><span class="dashicons dashicons-yes"></span>', esc_html__( 'Settings saved.', 'wordpress-seo' ), '</p>'; } }