plugin development – Mock a dependency of a WP_REST_Controller class
Question
I have a custom WordPress REST API with a client for an external service being injected in its constructor; that client is going to be used internally in that class, like this:
class Custom_REST_Endpoi
0
6 months
0 Answers
0 views