[Pro] how to use $identifier with custom action
-
So I’m just trying to setup my first custom actions and I can’t get the $identifier parameter to work right.
if( $identifier !== 'employee_clock_out' ){ return $return_args; }
Is the code I’m using to determine whether or not to execute the function.
If my webhook name is ’employee-clock-out’, do I use that or ’employee_clock_out’ or what? Cause I’ve tried both and nothings working. When I remove the identifier statement the rest of the function works just fine.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘[Pro] how to use $identifier with custom action’ is closed to new replies.