<!-- EVENTR REGISTRATION 1 -->
to
[EVENTR REGISTRATION 1]
Something that will not get changed by the editor, you know what I mean.
I think I'll change this for my first client, he's barely able to log in to WordPress
if(preg_match('/[EVENTR\s*REGISTRATION\s*(\d+)]/', $body, $matches)) {
if(preg_match('/\[EVENTR\s*REGISTRATION\s*(\d+)\]/', $body, $matches)) {
if(preg_match('/\[EVENTR\s*ATTENDEES\s*(\d+)\]/', $body, $matches)) {
You must log in to post.