/** * Sets the wrappers attributes * * @since 1.0.0 * @access public */ public function set_attributes() { parent::set_attributes(); $this->attributes['class'] .= ' wrap'; if (empty($this->struct['full_width'])) { $this->attributes['class'] .= ' uix-half-page'; } if (!empty($this->struct['attributes'])) { $this->attributes = array_merge($this->attributes, $this->struct['attributes']); } }