setup_menu_tabs(); $this->render_page($title); } /** * Render the menu page * * @param string $title - the page title * * @return void */ protected function render_page($title) { $current_tab = $this->get_current_tab(); ?>
'; $message .= esc_html__('The settings have been successfully updated.', 'all-in-one-wp-security-and-firewall'); $message .= '
'; if ($return_instead_of_echo) return $message; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Variable contains escaped HTML. echo $message; } /** * Render settings successfully updated message * * @param bool $return_instead_of_echo - This is used for when the function needs to return the message * * @return string|void */ public static function show_msg_settings_updated_st($return_instead_of_echo = false) { $message = ''; $message .= esc_html__('The settings have been successfully updated.', 'all-in-one-wp-security-and-firewall'); $message .= '
'; $message .= wp_kses_post($msg); $message .= '
'; $message .= wp_kses_post($msg); $message .= '
'; $message .= wp_kses_post($error_msg); $message .= '
'; $message .= wp_kses_post($error_msg); $message .= '