__('Security check', 'wp_all_export_plugin'))) ); } if ( ! current_user_can( PMXE_Plugin::$capabilities ) ){ exit( json_encode(array('html' => __('Security check', 'wp_all_export_plugin'))) ); } $response = array( 'html' => '', 'btns' => '' ); ob_start(); $errors = new WP_Error(); $input = new PMXE_Input(); $post = $input->post('data', array()); if ( ! empty($post['cpt'])): $engine = new XmlExportEngine($post, $errors); $engine->init_available_data(); ?>