WC_Settings_API::set_post_data( array $data = array() )

Sets the POSTed data. This method can be used to set specific data, instead of taking it from the $_POST array.


Description Description


Parameters Parameters

$data

(Optional) Posted data.

Default value: array()


Top ↑

Source Source

File: includes/abstracts/abstract-wc-settings-api.php

	public function set_post_data( $data = array() ) {
		$this->data = $data;
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.