/* Adjust PROFILE COVER upload limit */ function bbp_cover_image_max_upload_file_size( $fileupload_maxk, $type ) { if ( ‘cover_image’ == $type ) { $fileupload_maxk = 10485760; // in bytes, 10MB } return $fileupload_maxk; } add_filter( ‘bp_attachments_get_max_upload_file_size’, ‘bbp_cover_image_max_upload_file_size’, 10,2 ); /* Adjust PROFILE AVATAR…Continue reading
// This code snippet is used to dynamically populate taxonomy terms within the four Select2 Multi form fields // on the ‘edit profile’ form within Profile Builder. // // Select Field Location: Account > Edit Profile > Vendor Information //…Continue reading
// This code snippet is used to dynamically populate taxonomy terms within the five Select2 Multi form fields // on the ‘edit vendor profile form’ within Profile Builder. // // Select Field Location: Account > Edit Profile > Vendor Information…Continue reading
// This code snippet is used to dynamically populate taxonomy terms within the five Select2 Multi form fields // on the ‘edit vendor profile form’ within Profile Builder. // // Select Field Location: Account > Edit Profile > Vendor Information…Continue reading
// This code snippet is used to dynamically populate taxonomy terms within the Select2 Multi fields // on the ‘edit vendor profile form’ within Profile Builder. // // Select Field Location: Account > Edit Profile > Vendor Information // //…Continue reading
// This code snippet is run when a Profile Builder user profile is successfully updated // It checks for an existing vendor with a post author that matches the user’s ID // and either updates it or creates a new…Continue reading
add_filter(‘woocommerce_variable_price_html’, ‘custom_variation_price’, 10, 2); function custom_variation_price($price, $product) { $price = ”; $min_price = $product->get_variation_price(‘min’, true); $price .= sprintf(__(‘Ab: %1$s’, ‘woocommerce’), wc_price($min_price)); return $price; }Continue reading
// // Modifies the WP Grid Builder query to filter vendors based on matching ‘vendor-location’ // // taxonomy terms with the current post’s ‘post-location’ terms. // // This function is hooked into the WP Grid Builder’s query argument filter, //…Continue reading
// // Modifies the WP Grid Builder query to filter vendors based on matching ‘vendor-location’ // // taxonomy terms with the current post’s ‘post-location’ terms. // // This function is hooked into the WP Grid Builder’s query argument filter, //…Continue reading
// // Modifies the WP Grid Builder query to filter vendors based on matching ‘vendor-location’ // // taxonomy terms with the current post’s ‘post-location’ terms. // // This function is hooked into the WP Grid Builder’s query argument filter, //…Continue reading