Skip to content

Instantly share code, notes, and snippets.

Avatar

weo3 weo3dev

View GitHub Profile
View gist:a9f23519e664ea2bc89b2752e0b86d0d
We're using the wp snippets plugin, per PMP prior advice.
/* SNIPPET 1 */
/* Custom Fields for Membership Registration */
function my_pmprorh_init_gift_recipient_email() {
// don't break if Register Helper is not loaded
if ( ! function_exists( 'pmprorh_add_registration_field' ) ) {
return false;
}
// bail if Gift Memberships not configured