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(…
home page (chatgpt)
https://www.figma.com/make/T8Dp7RmUzWGnSIq95DqPbW/Website-Design--Copy-?t=AWziUKcjDhGlN9lr-6
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
...
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…