Created
February 15, 2025 06:19
-
-
Save aimahdi/663bb4a1b8245f0a4cbb72663316a398 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
add_action('custom_message', 'custom_message_callback', 10, 1); | |
function custom_message_callback($form) { | |
echo '<div class="custom-field-container">'; | |
echo '<button type="button" onclick="alert(\'Custom message sent!\')">Send Message</button>'; | |
echo '</div>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment