HEX
Server: nginx/1.27.1
System: Linux in-3 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User: ivenus-clone (3297)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v4513/ivenusnew/public_html/wp-content/plugins/wp-all-export/actions/admin_head.php
<?php
function pmxe_admin_head(){

    if(!isset($_GET['page'])) {
        return;
    }

    if(strpos($_GET['page'], 'pmxe-') === false) {
        return;
    }

	$input = new PMXE_Input();
	$export_id = $input->get('id', false);
	$export_action = $input->get('action', false);	
	if ($export_id){
		?>
		<script type="text/javascript">
			var export_id = '<?php echo intval($export_id); ?>';
		</script>
		<?php
	}

	$wp_all_export_ajax_nonce = wp_create_nonce("wp_all_export_secure");

	?>
		<script type="text/javascript" id="googleMerchantsInit">
			if(typeof GoogleMerchants != 'undefined') {
				GoogleMerchants.constant('NONCE', '<?php echo esc_js($wp_all_export_ajax_nonce); ?>');
			}
			var ajaxurl = '<?php echo admin_url( "admin-ajax.php" ); ?>';
			var export_action = '<?php echo esc_js($export_action); ?>';
			var wp_all_export_security = '<?php echo esc_js($wp_all_export_ajax_nonce); ?>';
		</script>
	<?php
}