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',…
Change Registration Email Login URL
Modifies the login URL sent to new users via email.
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…
Billing Address Email Tag - Actual Country Name
Replace the default {billing_address} email tag to use the full State/Country names on purchase receipts.
test
test
Disable Geolocation Current Location if the page URL contains Prefill by URL parameters targeting an address field
When "Current Location" is enabled in WPForms > Settings > Geolocation, the geolocation JS overwrites address…
Disable IP Geo lookup service
That script is the one making the call to the geolocation endpoint, the rest of the…
Force localized currency for product feeds
This allows you to change the ISO 4217 for all the product feeds
WWLC - Default Wholesale Leads list to sort by registration date (newest first)
1. Navigate to your site: Go to your WP Admin dashboard. 2. Apply the snippet: Paste…
Auto Vote 5 sao cho bài viết mới
function auto_vote_5_stars_on_publish($ID, $post) { if ($post->post_status === 'publish') { if (function_exists('kk_star_ratings_insert')) { kk_star_ratings_insert("5", $ID); } }…
ACFW - Invalidate coupons for products with certain custom meta data
add_filter( 'woocommerce_coupon_is_valid', function( $valid, $coupon, $discount ) { $excluded_channels = $coupon->get_meta( '_excluded_og_channels', true ); if (…