PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
plugins
/
wp-all-import-pro
/
actions
<?php function pmxi_wp_ajax_wpai_scheduling_dialog_content() { if (!check_ajax_referer('wp_all_import_secure', 'security', false)) { exit(json_encode(array('html' => __('Security check', 'wp-all-import-pro')))); } if (!current_user_can(PMXI_Plugin::$capabilities)) { exit(json_encode(array('html' => __('Security check', 'wp-all-import-pro')))); } $import_id = $_POST['id']; $import = new PMXI_Import_Record(); $import->getById($import_id); if (!$import) { throw new Exception('Import not found'); } $post = $import->options; if (!isset($post['scheduling_enable'])) { $post['scheduling_enable'] = 0; } if (!isset($post['scheduling_timezone'])) { $post['scheduling_timezone'] = 'UTC'; } if (!isset($post['scheduling_run_on'])) { $post['scheduling_run_on'] = 'weekly'; } if (!isset($post['scheduling_times'])) { $post['scheduling_times'] = array(); } if (!isset($post['scheduling_weekly_days'])) { $post['scheduling_weekly_days'] = ''; } $is_dialog_context = true; ?> <div id="post-preview" class="wpallimport-preview wpallimport-scheduling-dialog"> <p class="wpallimport-preview-title scheduling-preview-title" style="font-size: 13px !important;"><strong>Scheduling Options for Import ID #<?php echo intval($import_id); ?></strong></p> <?php require_once(PMXI_Plugin::ROOT_DIR . '/views/admin/import/options/scheduling/_scheduling_ui.php'); ?> </div> <?php wp_die(); }
[-] delete_term.php
[edit]
[-] pmxi_before_xml_import.php
[edit]
[-] wp_ajax_wpai_delete_preview_session.php
[edit]
[-] wp_ajax_test_images.php
[edit]
[-] pmxi_after_xml_import.php
[edit]
[-] attachment_updated.php
[edit]
[-] wp_ajax_get_bundle_post_type.php
[edit]
[-] wp_ajax_wpai_scheduling_subscribe_dialog_content.php
[edit]
[-] wp_ajax_import_failed.php
[edit]
[-] wpai_disable_preview_beforeunload.php
[edit]
[-] wp_ajax_delete_import.php
[edit]
[-] admin_head.php
[edit]
[-] wp_ajax_auto_detect_cf.php
[edit]
[-] wp_ajax_auto_detect_sf.php
[edit]
[-] wp_loaded_99.php
[edit]
[-] wp_ajax_wpai_send_feedback.php
[edit]
[-] wp_ajax_wpai_cleanup_orphaned_previews.php
[edit]
[-] wp_ajax_wpai_scheduling_dialog_content.php
[edit]
[-] delete_post.php
[edit]
[-] wpmu_new_blog.php
[edit]
[-] wp_ajax_wpai_send_to_codebox.php
[edit]
[+]
..
[-] admin_menu.php
[edit]
[-] admin_init.php
[edit]
[-] pmxi_after_xml_import_99.php
[edit]
[-] wp_ajax_upload_resource.php
[edit]
[-] wp_ajax_wpai_load_preview_settings.php
[edit]
[-] wp_ajax_wp_all_import_api.php
[edit]
[-] wp_ajax_wpai_get_scheduling_connection_icon.php
[edit]
[-] wp_ajax_dismiss_notifications.php
[edit]
[-] add_attachment.php
[edit]
[-] wp_ajax_wpai_run_preview_with_progress.php
[edit]
[-] wp_ajax_wpai_delete_preview_posts.php
[edit]
[-] wp_ajax_save_import_scheduling.php
[edit]
[-] admin_notices.php
[edit]
[-] wp_ajax_save_import_functions.php
[edit]
[-] wp_ajax_wpai_dismiss_review_modal.php
[edit]