Register New Users as Customers
Register New Users as Customers
Untitled Snippet
PIPAS — Biennale de Photographie Genève PIPAS À propos Pratique 24 22 PIPAS Biennale de Photographie…
ModalCSS
Used to display popup modal in GenerateBlocks
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 );
On Scroll Elementor show/hide element
Note: You need to set the id for the button or element to "#scrolling-button".
Disable "Scheduled export e-mail of ... returned false when sending to ..." notice in Scheduled Exports
function custom_woo_ce_cron_export_email_wp_mail_failure_notice() { // Turn off the error notice return false; } add_filter( 'woo_ce_cron_export_email_wp_mail_failure_notice', 'custom_woo_ce_cron_export_email_wp_mail_failure_notice' );