DEV Community

Discussion on: Integrating APIs with Wordpress and Contact Form 7

Collapse
 
manisvgsvk profile image
manisvgsvk

can I integrate more than one API its means,
one API response based call another API if first API faild second API should not call. is its possible?

Collapse
 
jorbascrumps profile image
Chris Wright • Edited

Sure you can! Setup a second action with a lower priority and then set $abort to true on the first. This will stop the second action from firing.