Created
April 27, 2022 07:46
-
-
Save lynt-smitka/87283c4c41dc7d8a0a5712643a3b6070 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Ukazka vlozeni skriptu na thankyou page | |
*/ | |
function lynt_ukazkova_akce( $order_id ) { | |
?> | |
<script> | |
console.log("thank you!"); | |
</script> | |
<?php | |
} | |
add_action( "woocommerce_thankyou", "lynt_ukazkova_akce") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment