HEX
Server: Apache/2
System: Linux 17792.vpsvinahost.vn 3.10.0-1062.1.1.el7.x86_64 #1 SMP Fri Sep 13 22:55:44 UTC 2019 x86_64
User: hitehp (1010)
PHP: 7.4.28
Disabled: NONE
Upload Files
File: /home/hitehp/public_html/wp-content/themes/flatsome/inc/admin/admin-notice.php
<?php

if ( get_theme_mod( 'maintenance_mode', 0 ) && get_theme_mod( 'maintenance_mode_admin_notice', 1 ) ) {
	add_action( 'admin_notices', 'flatsome_maintenance_admin_notice' );
}

function flatsome_maintenance_admin_notice() {
	$advanced_url = get_admin_url() . 'admin.php?page=optionsframework&tab=';
	?>
    <div class="notice notice-info">
        <p><?php echo sprintf( __( 'Flatsome Maintenance Mode is <strong>active</strong>. Please don\'t forget to <a href="%s">deactivate</a> it as soon as you are done.', 'flatsome-admin' ), $advanced_url . 'of-option-maintenancemode' ); ?></p>
    </div>
	<?php
}