I'm having a little problem figuring out how to execute shortcodes stored in a mail content option of a plugin.
The thing is, I have a field in my options page named '_message' that works with WYSIWYG Editor, and I want to save shortcodes there and then execute them before send the email.
There is some way of detect shortcodes in strings?. Ex:
$message = 'blablabla [sale_products] blablaba';
If you have another suggestion of how can this be done, that would be great!