$value ) { if ( strpos( $key, $prefix ) === 0 || strpos( $key, str_replace( '.', '_', $prefix ) ) === 0 ) { $array[substr( $key, strlen( $prefix ) )] = $value; } } return $array; } /** * Returns request array * * @return array */ static function get_request() { if ( !isset( $_GET ) ) { $_GET = array(); } if ( !isset( $_POST ) ) { $_POST = array(); } return array_merge( $_GET, $_POST ); } }