Pay for Action :: set up 2Checkout gateway

Log in to your 2Checkout merchant account Navigate to the Webhooks & API menu Find a Merchant Code and Secret Word And put to the plugin settings (Pay for Action tab): 4. Then add an Endpoint to get updates from 2Checkout about the order status update And assign triggers Order […]

How to add Country picker to the Upload form

If you are too lazy to add all Countries options, you could use that idea with dynamic list: Create the new field “Dropdown” with a key “country” Then add the following JS code to the Settings => Custom JS, “For Upload page” option The code: var country_list = [“Afghanistan”,”Albania”,”Algeria”,”Andorra”,”Angola”,”Anguilla”,”Antigua & […]

Dynamic form fields

Here is a simple way to show a few form fields based on Checkbox: 1. Add your fields, name them like group_name_1, group_phone_1: https://snipboard.io/IBOcMn.jpg 2. Hide them Via CSS (will hide all fields named group_*) [class*=”fv-field-key–group_”] { display: none; } 3. Oo click to the checkbox – show them via […]

How to add custom fields to the Export

To add custom fields to the Votes list CSV you could use the following filter (since version 2.3.43): add_filter(‘fv/export/votes/csv_data’, function($csv_data) { // Add user_login field $csv_data[‘heading’][] = ‘user_login’; $csv_data[‘rows’][] = ‘users_user_login’; global $wpdb; $csv_data[‘queryModel’]->leftJoin( $wpdb->users, “users”, “`users`.`ID` = `t`.`user_id`”, [‘user_login’] ); return $csv_data; });