public function config() {
		if ( ! empty( $this->struct['config'] ) ) {
			$this->struct['modal']['config'] = array_merge( $this->struct['modal']['config'], $this->struct['config'] );
			if ( ! empty( $this->struct['config']['add_text'] ) ) {
				$this->struct['modal']['config']['footer']['control']['add_item']['label'] = $this->struct['config']['add_text'];
			}
			if ( ! empty( $this->struct['config']['update_text'] ) ) {
				$this->struct['modal']['config']['footer']['control']['update_item']['label'] = $this->struct['config']['update_text'];
			}
			unset( $this->struct['config'] ); // remove so no clashing.
		}
	}
public function config() {
		if ( ! empty( $this->struct['config'] ) ) {
			$this->struct['modal']['config'] = array_merge( $this->struct['modal']['config'], $this->struct['config'] );
			if ( ! empty( $this->struct['config']['add_text'] ) ) {
				$this->struct['modal']['config']['footer']['control']['add_item']['label'] = $this->struct['config']['add_text'];
			}
			if ( ! empty( $this->struct['config']['update_text'] ) ) {
				$this->struct['modal']['config']['footer']['control']['update_item']['label'] = $this->struct['config']['update_text'];
			}
			unset( $this->struct['config'] ); // remove so no clashing.
		}
	}
public function config ( ) { if ( ! empty ( $ this -> struct [ 'config' ] ) ) { $ this -> struct [ 'modal' ] [ 'config' ] = array_merge ( $ this -> struct [ 'modal' ] [ 'config' ] , $ this -> struct [ 'config' ] ) ; if ( ! empty ( $ this -> struct [ 'config' ] [ 'add_text' ] ) ) { $ this -> struct [ 'modal' ] [ 'config' ] [ 'footer' ] [ 'control' ] [ 'add_item' ] [ 'label' ] = $ this -> struct [ 'config' ] [ 'add_text' ] ; } if ( ! empty ( $ this -> struct [ 'config' ] [ 'update_text' ] ) ) { $ this -> struct [ 'modal' ] [ 'config' ] [ 'footer' ] [ 'control' ] [ 'update_item' ] [ 'label' ] = $ this -> struct [ 'config' ] [ 'update_text' ] ; } unset ( $ this -> struct [ 'config' ] ) ; // remove so no clashing. } }
Process config if set.

@since  3.0.0
@access public
Process config if set .