Add Custom Text before Products inside WooFood menu

Here is a small guide on how to add custom text or html before the Product loop inside WooFood menu.

The following code will add “Your custom text goes here” when the Product Category Slug is burger-meals

add_action('woofood_after_products_wrapper_open', 'wpslash_custom_text_before_product_wrapper', 10, 2);

function wpslash_custom_text_before_product_wrapper($cat_slug, $ids)
{
	if($cat_slug == "burger-meals")
	{
		echo "Your custom text goes here";
	}
}