Display Form Entries

/** * Custom shortcode to display WPForms form entries in table view * * Basic usage: [wpforms_entries_table id=”FORMID”] * * @link https://wpforms.com/developers/how-to-display-form-entries/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ function wpf_entries_table( $atts ) { // Pull ID shortcode attributes.…Continue reading

Add Field Values for Dropdown, Checkboxes, and Multiple Choice Fields

/** * Add field values for dropdown, checkboxes, and multiple choice fields * * @link https://wpforms.com/developers/add-field-values-for-dropdown-checkboxes-and-multiple-choice-fields/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ add_filter( ‘wpforms_fields_show_options_setting’, ‘__return_true’ );Continue reading

Defer the reCAPTCHA Script

/** * Defer the reCAPTCHA script until after the page loads * * @link https://wpforms.com/developers/how-to-defer-the-recaptcha-script/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ function wpf_recaptcha_add_async_defer( $tag, $handle ) { if ( strpos( $tag, ‘recaptcha/api.js?onload=wpformsRecaptchaLoad’ ) !== false ) { $tag…Continue reading

Change Position of v2 Invisible reCAPTCHA Badge

/** * Change position of v2 Invisible reCAPTCHA badge * * @link https://wpforms.com/developers/how-to-change-the-position-of-the-v2-invisible-recaptcha-badge/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ function wpf_dev_invisible_recaptcha_position( $data, $form_data ) { $type = wpforms_setting( ‘recaptcha-type’, ‘v2’ ); if ( ‘invisible’ === $type ) {…Continue reading

Display Shortcodes Inside HTML Fields

/** * Run shortcodes on HTML field content * * @link https://wpforms.com/developers/how-to-display-shortcodes-inside-the-html-field/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ function wpf_dev_html_field_shortcodes( $field, $field_atts, $form_data ) { if ( ! empty( $field[ ‘code’ ] ) ) { $field[ ‘code’ ]…Continue reading

Set Default Date for Date Picker

/** * Sets a default date for Date Picker * * @link https://wpforms.com/developers/how-to-set-a-default-date-for-your-date-picker-form-field/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ function wpf_dev_date_picker_default() { ?>Continue reading

Allow Multiple Dates Selection in Date Picker

/** * Adds the ability to select multiple dates inside the Date Picker field * * @link https://wpforms.com/developers/allow-date-range-or-multiple-dates-in-date-picker/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ function wpf_dev_date_picker_multiple() { ?>Continue reading