I believe this code (as is) will never call your post_to_third_party
function. The add_action
hook needs to reference that function like so:
add_action("gform_after_submission_5", "post_to_third_party", 10, 2);
Hope that helps, have fun!
I believe this code (as is) will never call your post_to_third_party
function. The add_action
hook needs to reference that function like so:
add_action("gform_after_submission_5", "post_to_third_party", 10, 2);
Hope that helps, have fun!