WWQ - Allow quoting out-of-stock products
add_action( 'woocommerce_single_product_summary', 'wwq_show_quote_button_for_out_of_stock', 31 ); function wwq_show_quote_button_for_out_of_stock() { global $product; if ( ! $product instanceof WC_Product…
Add Tax ID to Shipping Label
/** * Add the Tax ID Field to the settings page * * In this example…
Including product tax to commission calculation
add_filter( 'wcvendors_commission_rate', 'wcv_calculate_commission_include_product_tax', 10, 5 ); function wcv_calculate_commission_include_product_tax( $commission, $product_id, $product_price, $order, $qty ) { $product…
test
echo 'test';
Change the action's string in the refund section - "View Details"
Change the action's string in the refund section - "View Details"
Untitled Snippet
HTML5
Update the author name on published recipes
This code snippet will update the author name for all existing recipes. Just replace New Name…
Tasty Pins - Remove the Pin button for an image by URL
Easily exclude images from having this pin it button using the image url by javascript snippet:
Allow Eventbrite Styles in Long Description | Display Eventbrite Events
Since version 5.3.4 the Display Eventbrite Plugin has been removing the inline styles Eventbrite add to…
Add duplicate link to admin bar menu
Extend the WPCode duplicate snippet (https://library.wpcode.com/snippet/7oqnzxow/) with an admin bar menu item. The duplicate snippet needs…
Fix the InvalidInternetMessageHeader Error in Outlook
This snippet will modify specific headers in your emails, which can help resolve this ‘InvalidInternetMessageHeader’ error…