Try filtering the output of that function to remove that column, or set it to an empty string. e.g.
function wpse_120798_item_totals($total_rows, $order) {
foreach ($total_rows as &$row) {
unset($row['value']); // or: $row['value'] = '';
}
return $total_rows;
}
add_action('woocommerce_email_before_order_table', function() {
add_filter('woocommerce_get_order_item_totals', 'wpse_120798_item_totals');
});
add_action('woocommerce_email_after_order_table', function() {
remove_filter('woocommerce_get_order_item_totals', 'wpse_120798_item_totals');
});
Related Posts:
- Best way to overide plugin CSS?
- Ways to create a paid wordpress plugin?
- How to include a plugin’s php file to another plugin functions file [duplicate]
- OpenID for WordPress 3.x? [duplicate]
- Edit plugin without hooks in functions.php
- How to register_sidebar() without messing up the order?
- How to find out if option exists but is empty?
- Template for different category on woocommerce product [closed]
- Reduce nonce lifespan
- Trigger a custom wordpress plugin with a linux cron
- Add_rewrite_rule doesn’t add custom url in plugin
- Allow a userclass to save a page as a draft – but not publish w/o admin approval
- Custom options page checkbox will not save, despite working with text
- Security checking in meta_box save is reluctant?
- Display comments of users on single page
- What causes an Unexpected HTTP Error within install plugins?
- How do I write into a file (css)
- Cache WP remote_get HTTP Response using Transients
- What is an arbitrary URL?
- Loco Translate: Custom Post and Custom Taxonomy Labels not translated in wp-admin menu
- Allow users of my plugin to define their own shortcode rather than use mine?
- Timed Exam test for candidates [closed]
- There has been a critical error on your website. Please check your site admin email inbox for instructions.Learn more about debugging in WordPress [closed]
- How to call WordPress function other files
- Submit page limited in time to upload image
- Modal suddenly disapearring [closed]
- Plugin alternative to Normalize.CSS? [closed]
- media page returnig to 404 in rtmedia [closed]
- Remove Woocomerce shop page
- Plugin can not display in my custom theme
- How do I show a different homepage to logged in and non-logged in users?
- Check if SEO plugin installed
- WordPress Plugin manipulate have_posts()
- Where are theme codes located for WordPress?
- call_user_func_array() expects parameter 1 to be a valid callback
- Inserting custom PHP script on homepage
- Enqueue stylesheet in plugin for wp-login.php
- a weird attribute on every html tag
- WordPress override archive page template using a plugin
- How can i delete options on plugin uninstallation?
- Add bcc to contact from on wordpress
- Date format – Meta Box plugin
- Which wordpress theme is compatible Optima Express theme (real estate inventory) plugin?
- Fullscreen gallery plugin [closed]
- autologin in wordpress when loged in non wp-site
- Image crop, resize and compression plugin?
- List category posts displaying limited posts
- Woocommerce Coupon Menu and Marketing Menu missing After “Coupons can now be managed from Marketing > Coupons.” [closed]
- “uagb/section and uagb/columns block”
- WordPress Site is Broken, Cannot see wp-admin page [closed]
- How to remove menus items from Menu section from WordPress theme customizer
- Block installation of specific plugins on a server level (CentOS 6 x64)
- Is there a way to easily manage Project options (custom-fields)
- Fetch CSS of posts
- Plugin generated unexpected output – No PHP errors
- Changing plugin options from theme functions file?
- Fancybox plugin: triggering on href attribute
- Gravatar alternative for WordPress
- Single Domain/Multiple Domain installation restrictions allowed for plugins?
- Plugin to display weekly schedule that can be edited via admin panel
- Automatic WordPress Backup Plugin works, but says it’s not
- Replace the_content with ACF Flexible Content via function
- Scrape key check failed. Please try again
- Error: call_user_func_array() expects parameter 1 to be a valid callback
- How to redirect users to the last page viewed
- Referrer Question From Server Log
- is there a way to preload specific images for desktop users only? (excluding mobile users)
- WordPress Shortcodes – Return $Variable
- Woocommerce convert simple products to variations
- How much PHP and MySQL or MariaDB knowledge should I know to start writing WordPress themes and plug-ins and whatever else a beginner can edit?
- Disable Plugin or JS on Specific Admin URLs
- How to bookmark pages that have dynamic URLs?
- Woocommerce budget search
- Copying content from my other websites
- WordPress “template_include” Filter Not Working
- Caching of combined CSS and JS fails because of losing MIME types through combining by PHP
- Allow vendors on a WordPress site to pick from a gallery of pre-selected images when choosing product’s featured image
- Update and remove buttons are hidden in plugin’s page
- How can I automatically send an email with an excel file containing submissions for a form rather than an email per submission?
- Overwrite user role
- Include plugin form in the home page
- Woocommerce: deleted single-product.php, everything still works. How is it possible?
- Is saving multiple options or saving multiple items in one option better?
- Style WordPress Custom Post Type Single Page
- How to set up year view for datepicker in The Events Calendar plugin?
- Photos do not show on SEO platform built into a wordpress plugin
- Building a simple “settings” plugin to change textstrings on the home page
- Using Postmash plugin in WordPress 3.3.1
- Element works, but not on wordpress site [duplicate]
- AdBlock blocks my non-advertising sidebar images [closed]
- My wordpress website admin panel loads very slow, what can i do about that? [closed]
- A plugin doesn’t show up and refuse to be installed
- How can I output completely custom content with plugin while still having header, footer, sidebar etc [closed]
- plugin translations not reflected in admin dashboard
- Elementor with system colors instead of kit colors [closed]
- Shortcode inside a redirect [closed]
- Attachement title in wpallimport
- Meta box not displaying on the plugin page
- Warning: Undefined variable $admin
- plugin translation *.mo file not getting loaded for custom post