WC_Settings_API::get_post_data()

Returns the POSTed data, to be used to save the settings.


Description Description


Return Return

(array)


Top ↑

Source Source

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

	public function get_post_data() {
		if ( ! empty( $this->data ) && is_array( $this->data ) ) {
			return $this->data;
		}
		return $_POST; // WPCS: CSRF ok, input var ok.
	}


Top ↑

User Contributed Notes User Contributed Notes

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