• Resolved traed

    (@traed)


    wc_get_products returns an empty array if used in the woocommerce_init action hook, but the query works in the wordpress init hook. Isn’t it supposed to be safe to use WC functions in woocommerce_init?

Viewing 1 replies (of 1 total)
  • Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    Since this is a few weeks old, and about customization, I am going to mark as resolved. A lot of people have found help in the Advanced WooCommerce group with things like this, so I would recommend checking there, or we highly recommend contacting one of the services on our Customizations page (https://woocommerce.com/customizations/)

Viewing 1 replies (of 1 total)
  • The topic ‘wc_get_products on woocommerce_init’ is closed to new replies.