WPSlash

Disable WooFood Accordion Transients

Monday October 5, 2020

If you are using a translation plugin its suggested to disable transients WooFood using for displaying mode

Here is a small code snippet you can paste inside your functions.php on your child theme

add_filter('woofood_accordion_transient', 'wpslash_disable_accordion_transients');

function wpslash_disable_accordion_transients()
{
	return false;
}

Leave a Comment

Your email address will not be published. Required fields are marked *

Related Articles

FoodMaster (formerly WooFood)

How to Set Up a Catering and Large Group Order System on Your WooCommerce Restaurant Website: Custom Menus, Minimum Order Requirements, Scheduled Delivery Windows, and Tiered Pricing for Events and Corporate Orders (Complete Guide)

Why Your Restaurant Needs a Dedicated Catering Order System Online Catering revenue in the United States reached an estimated $66.5 billion in 2023 according to the Catering Industry Association, and a significant portion of that spend is shifting online. Corporate clients, event planners, and families organizing celebrations increasingly expect to browse menus, customize orders, and […]
April 14, 2026
Tutorials

How to Set Up Automated Backups and Disaster Recovery for Your WooCommerce Restaurant Website: Scheduled Backups, One-Click Restore, and Protecting Your Menu, Orders, and Customer Data from Catastrophic Loss (Complete Guide)

Why Backups Are Non-Negotiable for WooCommerce Restaurant Websites Your restaurant website isn’t a brochure. It’s a living, breathing system that processes orders, stores customer data, manages delivery zones, and handles payments around the clock. Every hour your site is operational, new transactional data flows into your database — orders with special instructions, customer addresses, payment […]
April 13, 2026
Tutorials

How to Set Up a WooCommerce Restaurant Loyalty Program: Points, Rewards, Tiered Memberships, and Repeat-Order Incentives to Turn First-Time Customers into Regulars (Complete Guide)

Why Restaurant Loyalty Programs Matter for Online Ordering Acquiring a new customer costs five to seven times more than retaining an existing one, according to research from Bain & Company. For restaurant owners running their own online ordering through WooCommerce, that gap represents both a challenge and an enormous opportunity. Every dollar you pour into […]
April 13, 2026