/** * Construct Form fields. * * @since 4.4 * * @param $tag - shortcode tag * @param $atts - list of attribute assign to the shortcode. */ public function __construct($tag, $atts) { $this->tag = $tag; $this->atts = apply_filters('vc_edit_form_fields_attributes_' . $this->tag, $atts); $this->setSettings(WPBMap::getUserShortCode($this->tag)); }