How to Change CSV Export Delimiter
This snippet will modify the CSV separator symbol to be a semicolon instead of a comma.
Ensure Webfont is Loaded (non-Elementor)
function custom_font_display( $current_value, $font_family, $data ) { return 'swap'; } add_filter( 'font_display', 'custom_font_display', 10, 3 );
Milestone Sales Alert
Emails the admin when a specific download has been sold X times.
Commissions payment_id email tag
This adds support for the {payment_id} email tag to Commissions Notifications
Untitled Snippet
function youtube_dashboard() { $api_key = "AIzaSyBzzf22Vs5sMf1eoCuhN3-0Qtnj0EKu7Bk"; $channel_id = "102319916649-hmjdaecid7f96ql384nd80ie8mn13fjj.apps.googleusercontent.com"; // ganti channel kamu $url = "https://www.googleapis.com/youtube/v3/channels?part=snippet,statistics&id=$channel_id&key=$api_key";…
Yootheme Consent - Scroll block
/* When the consent banner is present, lock the viewport */ html:has(.tm-consent), body:has(.tm-consent) { overflow: hidden…
Add Tax ID to Shipping Label
/** * Add the Tax ID Field to the settings page * * In this example…
Including product tax to commission calculation
add_filter( 'wcvendors_commission_rate', 'wcv_calculate_commission_include_product_tax', 10, 5 ); function wcv_calculate_commission_include_product_tax( $commission, $product_id, $product_price, $order, $qty ) { $product…
test
echo 'test';
Change the action's string in the refund section - "View Details"
Change the action's string in the refund section - "View Details"