• Resolved muellerwerbung

    (@muellerwerbung)


    Hello, I have inserted some indvidual fields via PPOM plugin, which can also be exported well.

    Unfortunately, the plugin insert <span> tags, which i would like to remove for export (example: <span class=’ppom-option-label-price’>[+250,00 €]</span>).

    Is there maybe a way via the Custom PHP function to remove the span tags (i am not that skilled in php), or another method?

    THX

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author algol.plus

    (@algolplus)

    Hello

    please, open section “Misc Settings” and put this code

    add_filter('woe_fetch_order', function($row,$order){
      array_walk_recursive($row, function(&$item,$key) {
              $item = strip_tags($item);
      });
      return $row;
    },10,2);
    Thread Starter muellerwerbung

    (@muellerwerbung)

    The code works perfectly!
    Thank you very much for the quick help!

    Plugin Author algol.plus

    (@algolplus)

    You’re very welcome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Delete span tag from PPOM’ is closed to new replies.