Create a Smart Tag for the Current Time

/** * Create a custom Smart Tag Original doc link: https://wpforms.com/developers/how-to-create-a-smart-tag-for-the-current-time/ For support, please visit: https://www.facebook.com/groups/wpformsvip */ function wpf_dev_register_smarttag( $tags ) { // Key is the tag, item is the tag name. $tags[ ‘current_time’ ] = ‘Current Time’; return $tags;…Continue reading

Include Field Descriptions Inside Email Notifications

/* Include field descriptions inside email notifications Original doc link: https://wpforms.com/developers/how-to-include-field-descriptions-inside-email-notifications/ For support, please visit: https://www.facebook.com/groups/wpformsvip */ function wpf_dev_html_field_value( $field_val, $field, $form_data, $context ) { if ( $context !== ’email-html’ ) { return $field_val; } if ( empty( $form_data[ ‘fields’…Continue reading

Make Paypal as default payment gateway

if ( ! function_exists( ‘wcv_default_commission_payout_method_input’ ) ) { /** * Set the default commission payout method to paypal * * @param array $args the input arguments. */ function wcv_default_commission_payout_method_input( $args ) { $args[‘value’] = ‘paypal’; $options = $args[‘options’]; if (…Continue reading