public function apply_alternative()
 {
     if (isset($_POST['original']) && isset($_POST['alternative'])) {
         $ori_id = $_POST['original'];
         $alt_id = $_POST['alternative'];
         $categories = isset($_POST['copy_categories']) && $_POST['copy_categories'] == 'on';
         $tags = isset($_POST['copy_tags']) && $_POST['copy_tags'] == 'on';
         $meta = isset($_POST['copy_meta']) && $_POST['copy_meta'] == 'on';
         NelioABSettings::set_copy_metadata($meta);
         NelioABSettings::set_copy_categories($categories);
         NelioABSettings::set_copy_tags($tags);
         require_once NELIOAB_UTILS_DIR . '/wp-helper.php';
         NelioABWPHelper::overwrite($ori_id, $alt_id, $meta, $categories, $tags);
         echo 'OK';
         die;
     }
 }