email template

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #61148
    bruno
    Participant

      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;
      }

      #61149
      Olly
      Admin & Mod
        #61150
        bruno
        Participant

          I found the error. Now it works
          [ingrinfo] [‘ingrinfo’]
          Danke Olly

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The topic ‘email template’ is closed to new replies.