• Resolved qwik3r

    (@qwik3r)


    Is there a way to strip all html out of an export for content? I did a search and found this snippet of code but it doesn’t appear to be working anymore.

    
    add_filter( 'woe_fetch_order', function($rec ,$order) {
     array_walk_recursive($rec,  function(&$a) {
       $a = strip_tags($a);
     } );
     return $rec;
    }, 10, 2);
    
    
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Strip html’ is closed to new replies.