Current File : /home/digitaw/www/wp-content/plugins/simple-history/templates/settings-general.php
<?php
namespace Simple_History;

use Simple_History\Dropins\Sidebar_Add_Ons_Dropin;
use Simple_History\Simple_History;

defined( 'ABSPATH' ) || die();

/**
 * This is the output of the general settings page.
 */
?>
<div class="wrap sh-Page-content">
	<div class="sh-grid sh-grid-cols-2/3">
		<form method="post" action="options.php">
			<?php
			// Prints out all settings sections added to a particular settings page.
			do_settings_sections( Simple_History::SETTINGS_MENU_SLUG );

			// Output nonce, action, and option_page fields.
			settings_fields( Simple_History::SETTINGS_GENERAL_OPTION_GROUP );

			submit_button();
			?>
		</form>

		<?php
		if ( Helpers::show_promo_boxes() ) {
			?>
			<div style="margin-top: var(--sh-spacing-medium);">
				<?php
				// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
				echo Sidebar_Add_Ons_Dropin::get_premium_features_postbox_html();

				// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
				echo Sidebar_Add_Ons_Dropin::get_woocommerce_logger_features_postbox_html();
				
				// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
				echo Sidebar_Add_Ons_Dropin::get_debug_and_monitor_features_postbox_html();
				?>
			</div>
			<?php
		}
		?>
	</div>
</div>