muestra

http://bucketvisualizadorvplant.s3-website-us-east-1.amazonaws.com/practicas/Bombas-centr%C3%ADfugasContinue reading

Approving User Account After Completed PayPal Payment

/** * Approve user after PayPal payment status is Complete * * @link https://wpforms.com/developers/how-to-approve-a-user-after-a-paypal-payment/ */ function wpf_dev_activate_user_after_paypal_complete( $fields, $form_data, $payment_id, $data ){ // Add the field ID for the user’s account email $email_field = 3; // Stop editing $user =…Continue reading

How to Add Address Field Validation For Authorize.net

/** * Add address validation for Authorize.net address fields * * @link https://wpforms.com/developers/how-to-add-address-field-validation-for-authorize-net/ */ function wpf_dev_authorize_address_validation( $fields, $entry, $form_data ) { // Optional, you can limit to specific forms. Below, we restrict output to // form #1000. if ( absint(…Continue reading

How to Disable reCAPTCHA for Automated Testing

/** * Disable for automated testing. * * @link https://wpforms.com/developers/how-to-disable-recaptcha-for-automated-testing/ */ // Disable reCAPTCHA assets and initialisation on the frontend. add_filter( ‘wpforms_frontend_recaptcha_disable’, ‘__return_true’ ); // Disable validation and verification on the backend. add_filter( ‘wpforms_process_bypass_captcha’, ‘__return_true’ );Continue reading

How to Customize the Rich Text Field TinyMCE Icons

/** * Customize Rich Text Field TinyMCE buttons for top toolbar. * * @link https://wpforms.com/developers/how-to-customize-the-rich-text-field-tinymce-icons/ */ // Function to change the top toolbar function wpf_dev_customize_tinymce_buttons_toolbar1( $toolbar, $field_id, $field_data ) { $toolbar = [ ‘fontselect’, ‘fontsizeselect’, ‘forecolor’, ‘indent’, ‘outdent’, ‘italic’, ‘styleselect’,…Continue reading