PATH:
home
/
letacommog
/
pymreception1
/
wp-content
/
plugins
/
wp-all-import-pro
/
actions
<?php function pmxi_wp_ajax_wp_all_import_api(){ if ( ! check_ajax_referer( 'wp_all_import_secure', 'security', false )){ exit( json_encode(array('html' => __('Security check', 'wp_all_import_plugin'))) ); } if ( ! current_user_can( PMXI_Plugin::$capabilities ) ){ exit( json_encode(array('html' => __('Security check', 'wp_all_import_plugin'))) ); } $container = new \Wpai\Di\WpaiDi(array()); $request = new \Wpai\Http\Request(file_get_contents('php://input')); $q = $_GET['q']; $routeParts = explode('/', $q); $controller = 'Wpai\\App\\Controller\\'.ucwords($routeParts[0]).'Controller'; $action = ucwords($routeParts[1]).'Action'; $controller = new $controller($container); $response = $controller->$action($request); if(!$response instanceof \Wpai\Http\Response) { throw new Exception('The controller must return an HttpResponse instance.'); } $response->render(); }
[+]
..
[-] wpmu_new_blog.php
[edit]
[-] wp_ajax_dismiss_notifications.php
[edit]
[-] admin_init.php
[edit]
[-] add_attachment.php
[edit]
[-] wp_ajax_delete_import.php
[edit]
[-] wp_ajax_save_import_functions.php
[edit]
[-] wp_ajax_upload_resource.php
[edit]
[-] wp_ajax_auto_detect_sf.php
[edit]
[-] wp_loaded_99.php
[edit]
[-] attachment_updated.php
[edit]
[-] wp_ajax_import_failed.php
[edit]
[-] wp_ajax_wp_all_import_api.php
[edit]
[-] admin_menu.php
[edit]
[-] pmxi_before_xml_import.php
[edit]
[-] wp_ajax_auto_detect_cf.php
[edit]
[-] wp_ajax_wpai_scheduling_dialog_content.php
[edit]
[-] admin_head.php
[edit]
[-] wp_ajax_get_bundle_post_type.php
[edit]
[-] delete_term.php
[edit]
[-] wp_ajax_test_images.php
[edit]
[-] admin_notices.php
[edit]
[-] delete_post.php
[edit]
[-] wp_ajax_save_import_scheduling.php
[edit]
[-] pmxi_after_xml_import.php
[edit]