/** * 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
— phpMyAdmin SQL Dump — version 5.0.2 — https://www.phpmyadmin.net/ — — Host: localhost — Generation Time: Nov 20, 2021 at 08:35 AM — Server version: 10.4.13-MariaDB — PHP Version: 7.2.32 SET SQL_MODE = “NO_AUTO_VALUE_ON_ZERO”; START TRANSACTION; SET time_zone = “+00:00”;…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