Support » Plugin: WooCommerce » add hook in collection param for wc terms

  • Resolved vbathellier

    (@vbathellier)


    Is it possible to add a hook in WC_REST_Terms_Controller->get_collection_params to allow dev to add query params in rest schema ?

    instead of doing
    return $param
    do something like
    return apply_filters( “rest_{$this->taxonomy}_collection_params”, $params, $this->taxonomy );

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support gabrielfuentes

    (@gabrielfuentes)

    Hi there 👋

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    You can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    Cheers!

    Plugin Support gabrielfuentes

    (@gabrielfuentes)

    We’ve not seen any activity on this thread for a while, so I’m marking this thread as resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add hook in collection param for wc terms’ is closed to new replies.