I’m using WordPress alongside WooCommerce Lottery to create a raffle website.
The plugin creates different messages depending on different actions the user makes, and I want to be able to edit these messages.
For example:[If I run out of stock](https://imgur.com/n864gCv) [If you try to purchase more items than there are in stock](https://imgur.com/K9VTSey) [If you omit fields when paying](https://imgur.com/PvgNivy)
Now I can edit the style of the message using CSS, but I’m assuming there’s a php or JS file somewhere that creates the actual message content? How can I find out where this file is?
What plugin? Check the developer documentation for hooks and filters.
Woo – https://woocommerce.com/document/introduction-to-hooks-actions-and-filters/
I just use loco translator and replace the text strings with whatever tf I want instead of a real translation.