/** * Adds a date range 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_range() { ?>Continue reading
/** * Modify the required field indicator * * @link https://wpforms.com/developers/how-to-change-required-field-indicator/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ function wpf_dev_required_indicator( $text ) { return ‘ ‘ . __( ‘*’, ‘wpforms’ ) . ‘‘; } add_filter( ‘wpforms_get_field_required_label’, ‘wpf_dev_required_indicator’, 10, 1…Continue reading
/** * Display form after confirmation * * @link https://wpforms.com/developers/how-to-display-the-confirmation-and-the-form-again-after-submission/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ function wpf_dev_frontend_output_success( $form_data, $fields, $entry_id ) { // Only process this snippet on form ID 999999 // To find your form or…Continue reading
/** * Filters the delimiter used in CSV exports of form entries * * @link https://wpforms.com/developers/change-csv-export-delimiter/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ function wpf_dev_pro_admin_entries_export_configuration( $configuration ) { $configuration[ ‘csv_export_separator’ ] = ‘;’; return $configuration; } add_filter( ‘wpforms_pro_admin_entries_export_configuration’, ‘wpf_dev_pro_admin_entries_export_configuration’,…Continue reading
/** * Filters non-input field types to include in {all_fields} output * * @link https://wpforms.com/developers/include-page-break-section-divider-and-html-fields-in-notifications/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ function wpf_dev_email_display_other_fields( $fields ) { return array( ‘divider’, ‘pagebreak’, ‘html’, ‘content’ ); } add_filter( ‘wpforms_email_display_other_fields’, ‘wpf_dev_email_display_other_fields’, 10,…Continue reading
/** * Show empty form fields in email notifications * * @link https://wpforms.com/developers/how-to-show-empty-form-fields-in-email-notifications/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ add_filter( ‘wpforms_email_display_empty_fields’, ‘__return_true’ );Continue reading
/** * Disable the email address suggestion * * @link https://wpforms.com/developers/how-to-disable-the-email-suggestion-on-the-email-form-field/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ add_filter( ‘wpforms_mailcheck_enabled’, ‘__return_false’ );Continue reading
/** * Set the language reCAPTCHA * * @link https://wpforms.com/developers/how-to-set-the-language-for-google-recaptcha/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ function wpf_dev_recaptcha_language( $url ) { // Set the language code to FR (French) // To find your language code, please visit https://developers.google.com/recaptcha/docs/language…Continue reading
/** * Move the field description above the form field * * @link https://wpforms.com/developers/how-to-position-the-field-description-above-the-form-field/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ function wpf_dev_field_properties( $properties, $field, $form_data ) { // Only process this snippet on form ID 999999 // To…Continue reading
if ( ! function_exists( ‘display_solby_as_first_name’ ) ) { /** * Display sold by as vendor first name. * * @param string $soldby the link with name. * @param int $vendor_id the Vendor ID. */ function display_solby_as_first_name( $soldby, $vendor_id ) {…Continue reading