• Resolved Carl Brubaker

    (@imconfused4sure)


    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 handling this.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add_action to WooCommerce Square _api_request_performed’ is closed to new replies.