WWPP - Hide Tax label on Cart/Checkout for wholesale customers

add_filter( 'woocommerce_countries_tax_or_vat', function( $label ) { if ( ! ( is_cart() || is_checkout() ) ) {…

Elementor Store Headers

Gives support for Elementor on WC Vendor Headers

SandboxCodeX

SandboxCodeX ide build

Custom Tab Order For Dashboard

// Add this to your themes functions.php to change the order, rearrage the lines. First line…

Current Year

function current_year_shortcode() { return date('Y'); } add_shortcode('year', 'current_year_shortcode');

Huttons News Importer

final class Huttons_News_Importer { private const CRON_HOOK = 'huttons_news_hourly'; private const CATALOG_URL = 'https://www.huttonsgroup.com/property-news'; private const…

<10

Add Content Above or Below the Speaker Details

Adds your own markup above the speaker detail block, for a banner, notice or breadcrumb. The…

Minimal Login Form

Remove all the extra features of default login form with CSS, improves login security and simplifies…

Sensitive User Switch

On a site with multiple admins, only allow user switching capacity to owner based on user…

Basic WP escaping functions

// ❌ Don't use _e(), __(), _x() etc. to output data // ✅ Use the escaped…

Filter the message generated for admin confirmation | Quick Event Manager

add_filter('qem_registration_email_message',,,3); This filters allows you to adjust the confirmation email to the admin / organiser (…

Tweaking the Calendar Language Localisation | Display Eventbrite Events

The calendar will attempt to localize the language based on the WordPress website setting. However, the…

Make Paypal as default payment gateway

This snippet will remove all other vendor payment commision methods. Only allowing Paypal, it also makes…

1 … 119 120 121 122 123 … 237