Skip to content

Instantly share code, notes, and snippets.

@michaelcarwile
michaelcarwile / functions.php
Created August 15, 2014 12:06
Gravity Forms Submit Button Add CSS Class
<?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'] . '">';
}
@mrhorse
mrhorse / vaccineAppointmentHelper.js
Last active May 26, 2021 09:38
Horse vaccine script
// ==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==