admin_head.php
4 years ago
admin_init.php
4 years ago
admin_menu.php
4 years ago
admin_notices.php
4 years ago
init.php
4 years ago
pmxe_after_export.php
4 years ago
pmxe_before_export.php
4 years ago
pmxe_exported_post.php
4 years ago
wp_ajax_dismiss_export_warnings.php
4 years ago
wp_ajax_dismiss_warnings.php
4 years ago
wp_ajax_generate_zapier_api_key.php
4 years ago
wp_ajax_redirect_after_addon_installed.php
4 years ago
wp_ajax_save_scheduling.php
4 years ago
wp_ajax_scheduling_dialog_content.php
4 years ago
wp_ajax_wpae_available_rules.php
4 years ago
wp_ajax_wpae_filtering.php
4 years ago
wp_ajax_wpae_filtering_count.php
4 years ago
wp_ajax_wpae_preview.php
4 years ago
wp_ajax_wpae_upgrade_notice.php
4 years ago
wp_ajax_wpallexport.php
4 years ago
wp_loaded.php
4 years ago
wpmu_new_blog.php
4 years ago
admin_head.php
26 lines
| 1 | <?php |
| 2 | function pmxe_admin_head(){ |
| 3 | $input = new PMXE_Input(); |
| 4 | $export_id = $input->get('id', false); |
| 5 | $export_action = $input->get('action', false); |
| 6 | if ($export_id){ |
| 7 | ?> |
| 8 | <script type="text/javascript"> |
| 9 | var export_id = '<?php echo $export_id; ?>'; |
| 10 | </script> |
| 11 | <?php |
| 12 | } |
| 13 | |
| 14 | $wp_all_export_ajax_nonce = wp_create_nonce("wp_all_export_secure"); |
| 15 | |
| 16 | ?> |
| 17 | <script type="text/javascript" id="googleMerchantsInit"> |
| 18 | if(typeof GoogleMerchants != 'undefined') { |
| 19 | GoogleMerchants.constant('NONCE', '<?php echo $wp_all_export_ajax_nonce; ?>'); |
| 20 | } |
| 21 | var ajaxurl = '<?php echo admin_url( "admin-ajax.php" ); ?>'; |
| 22 | var export_action = '<?php echo $export_action; ?>'; |
| 23 | var wp_all_export_security = '<?php echo $wp_all_export_ajax_nonce; ?>'; |
| 24 | </script> |
| 25 | <?php |
| 26 | } |