| @@ -60,11 +60,8 @@ | ||
| 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 | - | |
| 67 | 64 | // Call the callback function with request arguments |
| 68 | 65 | if ( is_callable( $callback['callback'] ) ) { |
| 69 | 66 | if ( is_array( $callback['callback'] ) ) { |
| 70 | 67 | $class = $callback['callback'][0]; |