WC_Admin_Post_Types::request_data()protectedWC 1.0

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

{} It's a 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();

Code of WC_Admin_Post_Types::request_data() WC 6.7.0

protected function request_data() {
	return $_REQUEST;
}