// Add custom css: quick buttons and accordion at the top of the GravityWP – CSS Selector modal function my_custom_gwp_css_selector_add_css() { $html .= “ Custom CSS Section Font Smaller (90%) Section Font Smaller (75%) Gravity PDF GravityPDF Page Break GravityPDF…Continue reading
/** * Credit Card Expiration Field on Cambridge Caregivers Engagement Form year dropdown set to current year and +10 years from now */ add_filter(‘gform_date_min_year’, function ($min_year, $form, $field) { return $form[‘id’] == 1 && $field->id == 172 ? date(‘Y’) :…Continue reading
add_filter( ‘wpcode_smart_tags’, function( $tags ) { $tags[‘custom’] = array( ‘label’ => ‘Custom’, ‘tags’ => array( ‘custom_field_tag’ => array( ‘label’ => ‘Custom Field Tag’, ‘function’ => ‘wpcode_custom_field_tag’, ), ), ); return $tags; } ); function wpcode_custom_field_tag() { // Replace custom_field_tag below…Continue reading
add_filter( ‘wpcode_snippets_per_page’, function() { return 5; });Continue reading
/* * Hide the price from notifications * * @link https://wpforms.com/developers/how-to-hide-the-item-price-value-in-the-email-notifications */ function wpf_email_field_value( $value, $field, $form_data, $context) { if ( ’email-html’ === $context ) { // If the form ID is 364 AND the field ID is 19 remove…Continue reading