public function set_submit() {
		if ( ! $this->child['config']->is_submitted() ) {
			$data = $this->child['config']->get_data();
			$this->child['config']->struct['attributes']['data-default'] = wp_json_encode( $data );
			$data_template = $this->drill_in( $data );

			$this->child['config']->set_data( $data_template );
		}
	}
public function set_submit() {
		if ( ! $this->child['config']->is_submitted() ) {
			$data = $this->child['config']->get_data();
			$this->child['config']->struct['attributes']['data-default'] = wp_json_encode( $data );
			$data_template = $this->drill_in( $data );

			$this->child['config']->set_data( $data_template );
		}
	}
public function set_submit ( ) { if ( ! $ this -> child [ 'config' ] -> is_submitted ( ) ) { $ data = $ this -> child [ 'config' ] -> get_data ( ) ; $ this -> child [ 'config' ] -> struct [ 'attributes' ] [ 'data-default' ] = wp_json_encode ( $ data ) ; $ data_template = $ this -> drill_in ( $ data ) ; $ this -> child [ 'config' ] -> set_data ( $ data_template ) ; } }
Setup data for a submission.

@since  3.0.0
@access public
Setup data for a submission .