Added options to search WooCommerce log files if WC was detected#295
Added options to search WooCommerce log files if WC was detected#295primathon wants to merge 1 commit intoInstaWP:trunkfrom
Conversation
|
Hiya, and thanks for the Pull Request! This is a very interesting concept, so far, the plugin hasn't catered specifically to any one plugin like this. I wonder, are there other major plugins that do similar things that it would make sense to add custom handling for along the same lines? |
|
None that I can think of off the top of my head, but given how popular WooCommerce is (basically the de facto standard for ecommerce in WordPress), I think it makes sense to include something like this. The only other feature I find myself really missing in this plugin is the ability to limit the search based on filetype, but it looks like there's still an open issue referencing this from 6 months ago here. |
|
I've been thinking a fair bit on this, and opened #310 to do some further discussing (since a PR should primarily be about the pull request it self, and not discussion about implementation in my mind :) ) |
I often find myself needing to search through WC log files in order to find specific strings (order IDs, customer email addresses, etc). This PR adds an option to search through the /wp-content/uploads/wc-logs directory if the wc_get_logger() function is detected.