| @@ -60,8 +60,11 @@ | ||
| 60 | 60 | // Check if the route is allowed for the current request method |
| 61 | 61 | if ( $this->is_route_method_allowed( $callback, $request_method ) ) { |
| 62 | 62 | $request_args = $this->get_request_args( $request_method ); |
| 63 | 63 | |
| 64 | + // var_dump( $request_args ); | |
| 65 | + // die; | |
| 66 | + | |
| 64 | 67 | // Call the callback function with request arguments |
| 65 | 68 | if ( is_callable( $callback['callback'] ) ) { |
| 66 | 69 | if ( is_array( $callback['callback'] ) ) { |
| 67 | 70 | $class = $callback['callback'][0]; |