Hey guys,
I’m trying to create a function to for a wordpress plugin called WP import
Basically trying to do the following
[IF({agent[contains(.,‘john-doe’)]})]
//make agents
contains “John Doe \ Manager”
[ELSEIF({agent[contains(.,‘penny-doe’)]})]
//make agents
contains “Penny Doe \ Assistance manager”
[ELSE}
contains=“John Doe \ Manager, Penny Doe \ Assistance manager”;
[ENDIF]
Is this the right way to go about it?