Untitled Snippet
function vqs_leaderboard_assets() { wp_enqueue_style( 'vqs-leaderboard-css', get_stylesheet_directory_uri() . '/vqs-leaderboard.css', [], '1.0' ); wp_enqueue_script( 'vqs-leaderboard-js', get_stylesheet_directory_uri() . '/vqs-leaderboard.js',…
Paystack Split Payments Integration with WC Vendors — Creating the Split Configuration
public function process_split_payment( $order ) { $vendors_due = WCV_Vendors::get_vendor_dues_from_order( $order, false ); $sub_accounts = array(); foreach…
Disable PayPal for Multi-Item Checkout
Disables the PayPal gateway when the cart contains multiple items. PayPal disabled the ability to purchase…
AffiliateWP — Restrict Checkout Referrals Dropdown by User Role
Restricts the AffiliateWP Checkout Referrals dropdown to only appear for logged-in users with a specific WordPress…
RED'S CSS Snippet
#red-chatbot-wrap { max-width: 720px; margin: 30px auto; font-family: Arial, sans-serif; } .red-chatbot-card { border: 1px solid…
Top Pagination
Adds pagination links to the top of the [downloads] short code
Add an image filed to the sign up form
// Add the image field to the signup form. add_action( 'wcv_form_input_after__wcv_store_name', 'wcv_image_uploader'); function wcv_image_uploader( ){ if…
Disable sold by link on checkout page
/** * Disable the sold by link on the checkout page */ add_filter('wcvendors_sold_by_link', 'wcv_disable_checkout_sold_by_link', 10, 2);…