WooCommerce Dashboard is accessing Public Side Code. Why?
Question
I am separating my public and admin code via is_admin, but for some reason the public code gets executed in the WooCommerce Dashboard, by those “statistics” cards that are getting data.
I thought that maybe they’re doing some AJAX request so I tried adding wp_doing_ajax(), but that public code is still getting executed.
What’s happening?
0
plugin-development, plugins, woocommerce
4 years
2020-05-27T12:10:24-05:00
2020-05-27T12:10:24-05:00 0 Answers
98 views
0
Leave an answer