public function getEditFormJavascript_callback() { $tag = $this->post('tag'); $atts = $this->post('atts'); $content = $this->post('content'); $this->removeShortCode($tag); $settings = WPBMap::getShortCode($tag); $settings = new WPBakeryShortCode_Settings($settings); echo $settings->contentAdmin($atts, $content); die; }