Hello Olly
I created this plugin for filters, activated it, but it doesn’t work and it also blocks the sending of an order. where am i wrong?
<?php
/*
Plugin Name: WPPizza Custom Functions
Description: WPPizza custom functions that run regardless of theme used (use instead of putting them into a theme’s functions.php)
Version: 0.1
Author: ollybach
Author URI: https://www.wp-pizza.com
*/
add_filter(‘wppizza_ingredients_filter_email_styles’, ‘myprefix_filter’);
function myprefix_filter($styles){
/*
the 120% here overrides any previous (default of 85%)
font-size declaration for the element
*/
$styles[ingrinfo] .= ‘font-size:130%;’;
return $styles;
}