WPForms Repeater Output Support / Central Region Service Request (SEI)

add_action(‘wpforms_loaded’, function() { // 1. Register your custom smart tags (this happens site-wide). add_filter(‘wpforms_smart_tags’, function($tags) { $tags[‘equipment_type_list’] = ‘Equipment Type List’; $tags[‘ownership_type_list’] = ‘Ownership Type List’; $tags[‘serial_number_list’] = ‘Serial Number List’; $tags[‘brand_model_list’] = ‘Brand/Model List’; return $tags; }); // 2.…Continue reading

WPForms Repeater Output Support / Central Region Service Request (SKY)

add_action(‘wpforms_loaded’, function() { // 1. Register your custom smart tags (this happens site-wide). add_filter(‘wpforms_smart_tags’, function($tags) { $tags[‘equipment_type_list’] = ‘Equipment Type List’; $tags[‘ownership_type_list’] = ‘Ownership Type List’; $tags[‘serial_number_list’] = ‘Serial Number List’; $tags[‘brand_model_list’] = ‘Brand/Model List’; return $tags; }); // 2.…Continue reading

WPForms Repeater Output Support / Central Region Service Request (LSO)

add_action(‘wpforms_loaded’, function() { // 1. Register your custom smart tags (this happens site-wide). add_filter(‘wpforms_smart_tags’, function($tags) { $tags[‘equipment_type_list’] = ‘Equipment Type List’; $tags[‘ownership_type_list’] = ‘Ownership Type List’; $tags[‘serial_number_list’] = ‘Serial Number List’; $tags[‘brand_model_list’] = ‘Brand/Model List’; return $tags; }); // 2.…Continue reading

WPForms Repeater Output Support / Central Region Service Request (EDB)

add_action(‘wpforms_loaded’, function() { // 1. Register your custom smart tags (this happens site-wide). add_filter(‘wpforms_smart_tags’, function($tags) { $tags[‘equipment_type_list’] = ‘Equipment Type List’; $tags[‘ownership_type_list’] = ‘Ownership Type List’; $tags[‘serial_number_list’] = ‘Serial Number List’; $tags[‘brand_model_list’] = ‘Brand/Model List’; return $tags; }); // 2.…Continue reading

WPForms Repeater Output Support / Central Region Service Request (ACE)

add_action(‘wpforms_loaded’, function() { // 1. Register your custom smart tags (this happens site-wide). add_filter(‘wpforms_smart_tags’, function($tags) { $tags[‘equipment_type_list’] = ‘Equipment Type List’; $tags[‘ownership_type_list’] = ‘Ownership Type List’; $tags[‘serial_number_list’] = ‘Serial Number List’; $tags[‘brand_model_list’] = ‘Brand/Model List’; return $tags; }); // 2.…Continue reading

WPForms Repeater Output Support / Central Region Service Request (ALS)

add_action(‘wpforms_loaded’, function() { // 1. Register your custom smart tags (this happens site-wide). add_filter(‘wpforms_smart_tags’, function($tags) { $tags[‘equipment_type_list’] = ‘Equipment Type List’; $tags[‘ownership_type_list’] = ‘Ownership Type List’; $tags[‘serial_number_list’] = ‘Serial Number List’; $tags[‘brand_model_list’] = ‘Brand/Model List’; return $tags; }); // 2.…Continue reading

Add Campaign Status to Campaign Shortcode

add_action(‘charitable_campaign_content_loop_after’, ‘charitable_add_campaign_status_in_campaigns_shortcode’); function charitable_add_campaign_status_in_campaigns_shortcode( $campaign = false, $view_args = array() ) { if ( ! empty( $campaign->get_status() ) ) { echo ‘ ‘ . $campaign->get_status() . ‘ ‘; } }Continue reading

Allow SVG Files Upload

/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types. * * @return mixed */ add_filter( ‘upload_mimes’, function ( $upload_mimes ) { // By default, only administrator users are allowed to add SVGs. //…Continue reading