wpcf7_after_flamingo
-
Hello Flamingo experts,
I’m using wpcf7_after_flamingo function and I need to make a redirection with JS code but it seems that I can’t use echo in my code inside this function.
This what I’m trying to do :function action_wpcf7_after_flamingo($result) {
echo '<SCRIPT LANGUAGE="JavaScript">document.location.href="https://localhost:8888/carnet-de-vol/user/carnetdevol/"</SCRIPT>';
}
add_action( 'wpcf7_after_flamingo', 'action_wpcf7_after_flamingo', 10, 1 );
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘wpcf7_after_flamingo’ is closed to new replies.