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
// ==UserScript== | |
// @name CV-19 Vaccine Appointment Helper | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @author Horse | |
// @match https://www.nhs.uk/book-a-coronavirus-vaccination/book/Appointment/* | |
// @grant none | |
// @require https://code.jquery.com/jquery-3.6.0.slim.js | |
// ==/UserScript== |
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 | |
//* Copy below this line */ | |
add_filter( 'gform_submit_button', 'form_submit_button', 10, 2 ); | |
function form_submit_button($button, $form) { | |
return '<input type="submit" class="button custom-class-here" id="gform_submit_button_' . $form['id'] . '" value="' . $form['button']['text'] . '">'; | |
} |