Get value of $this->get_api_id()
-
I am trying add an action to WooCommerce Square plugin. The hook I am trying to tie into is:
do_action( 'wc_' . $this->get_api_id() . '_api_request_performed', $request_data, $response_data, $this );
What I want to do is gather the order information that is sent to Square and add fulfillment data to it. Where can I find the contents of
$this->get_api_id()
to complete the action call? Or is there some other way I should be hooking this.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Get value of $this->get_api_id()’ is closed to new replies.