Exclude Specific Products from Parent Category
/** * Exclude specific products from appearing in their parent category. */ add_action('woocommerce_product_query', 'exclude_specific_products_from_parent_category'); function exclude_specific_products_from_parent_category($q)…
Εμφάνιση πεδίων User Registration στη λίστα χρηστών του WordPress
/** * Save registration fields in custom user meta keys * and show them in the…
Hide payment icons for trials
Hides the payment icons on checkout when the item in the card is a free trial
Add custom text to WooCommerce Email Templates for Wholesale Customers
If you want to place content elsewhere in the email, swap the hook: woocommerce_email_before_order_table: Above the…
WWPP – Customize the admin “New Order” email subject for wholesalers v1.1
How to apply: 1. Replace the previous snippet with this one in your functions.php or Code…
deepseek2
magazine 2
WC Product Bundle Integration Fix for MOQ incorrectly enforced on product bundle child items
/** * Fix 1: Product page — prevent WWPP from overriding the quantity input args for…
Allow HTML in the product description
function wcv_wpkses_post_html_tags( $tags, $context ) { if ( 'post' === $context ) { $tags['iframe'] = array(…
Add custom page to the vendor dashboard - custom menu link
add_filter( 'wcv_pro_dashboard_urls', 'custom_menu_link' ); function custom_menu_link( $pages ) { $pages[ 'custom_link' ] = array( 'slug' =>…
Buy Now
...
Ensure Webfont is Loaded
add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { return 'swap'; }, 10, 3 );
Move "Ships From" under the Product Meta, in the single product page template
Move "Ships From" under the Product Meta, in the single product page template by using 'product_ships_from'…
Static Page
html, body { overflow-x:hidden }