WC_Admin_Post_Types::request_data()protectedWC 1.0

Get the current request data ($_REQUEST superglobal). This method is added to ease unit testing.

Method of the class: WC_Admin_Post_Types{}

No Hooks.

Return

Array. The $_REQUEST superglobal.

Usage

// protected - for code of main (parent) or child class
$result = $this->request_data();

WC_Admin_Post_Types::request_data() code WC 8.7.0

protected function request_data() {
	return $_REQUEST;
}