/** * * delete captions css file content * @return new captions html select */ public function deleteCaptionsContentData($handle) { $db = new UniteDBRev(); $db->delete(GlobalsRevSlider::$table_css, "handle='.tp-caption." . $handle . "'"); //$this->updateDynamicCaptions(); //output captions array $operations = new RevOperations(); $cssContent = $operations->getCaptionsContent(); $arrCaptions = $operations->getArrCaptionClasses($cssContent); return $arrCaptions; }