Prevent Wholesale Customer to Add Product to the Cart If The Product is Low on Stock
// Prevent wholesale customer to add to cart if the product is low on stock add_filter('woocommerce_is_purchasable',…
Publishing email
Emails the author when their download is published.
Move User Fields Below Account Creation
Move the user fields below the "create an account" fields
Content Restriction Compatibility for Software Licensing
Make the edd_restrict shortcode check if a license is expired before displaying content.
Show login form for logged out users
Shows the [edd_login] form on restricted content for logged out users.
Opening booking resources editor in new tab
This snippet will open the booking resources editor in a new tab instead of opening it…
Custom Field to Vendor Settings Page
/* WC Vendors Pro - My Custom Field */ function store_bank_details( ){ if ( class_exists( 'WCVendors_Pro'…
Recent products table
if ( ! function_exists( 'wcv_remove_recent_product_table_columns' ) ) { /** * Remove columns from Recent Products table…
Ensure Webfont is Loaded
add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { return 'swap'; }, 10, 3 );
Combined Date – Time Format (Do something with the Local Start Time) | Display Eventbrite Events
The combined date / time format appears in several layouts and typically looks like 12/02/2019, 10:00…
Trigger a Scheduled Export via a WordPress Action
function custom_trigger_scheduled_export_url() { $secret_key = ( isset( $_GET['secret_key'] ) ? sanitize_text_field( $_GET['secret_key'] ) : false );…
Customize Action Scheduler Retention Period
This snippet allows you to change the default 30-day storage for the Action Scheduler retention period.
Define the Mailgun Signing Key Constant
This snippet will allow you to define your Mailgun Signing Key constant inside your wp-config.php file…