- Mastering WooCommerce 4
- Patrick Rauland
- 104字
- 2021-06-24 16:46:14
Surbma | WooCommerce Without Marketplace Suggestions
In WooCommerce 3.6, the WooCommerce team announced Marketplace Suggestions (https://woocommerce.wordpress.com/2019/04/03/extension-suggestions-in-3-6/). These inject recommendations for official WooCommerce extensions into the Orders screen and the Products screen for the store owner. They were adjusted just prior to the release and will likely evolve in the next few versions.
There's a plugin on the WordPress site called Surbma | WooCommerce Without Marketplace Suggestions, which disables these promotions, as shown here:
At the moment, there's only one important line in the plugin:
add_filter( 'woocommerce_allow_marketplace_suggestions', '__return_false' );
The code to disable the promotions is quite simple: one filter that removes them completely.
推薦閱讀
- Building Modern Web Applications Using Angular
- Linux C/C++服務(wù)器開發(fā)實踐
- ASP.NET Core 5.0開發(fā)入門與實戰(zhàn)
- Mastering SVG
- Visual Basic程序設(shè)計習(xí)題解答與上機指導(dǎo)
- Reactive Programming With Java 9
- QGIS By Example
- Python編程從0到1(視頻教學(xué)版)
- Android嵌入式系統(tǒng)程序開發(fā):基于Cortex-A8(第2版)
- Visual Basic程序設(shè)計全程指南
- PyQt編程快速上手
- INSTANT EaselJS Starter
- 走近SDN/NFV
- Qt編程快速入門
- Learning Google Apps Script