• Resolved Manja Neumann

    (@tippl)


    Hi,

    when exporting booking data we get some fields, f.e. the city field, with css styles included:

    <span style="color:red;">Düsseldorf </span>

    How can we fix this issue?

    Thanks,
    Manja

Viewing 3 replies - 1 through 3 (of 3 total)
  • joneiseman

    (@joneiseman)

    Until this problem gets fixed by the plugin owner, you could try using the following code snippet to fix the problem:

    function my_em_custom_booking_form_cols_tickets($value, $col){
    if( $col != 'actions' && $col != 'event_name' && $col != 'user_email' ){
    $value = wp_strip_all_tags( $value );
    }
    return $value;
    }
    add_filter('em_bookings_table_rows_col','my_em_custom_booking_form_cols_tickets', 100, 2);

    You can use the Code Snippets plugin to add this code snippet.

    Thread Starter Manja Neumann

    (@tippl)

    It works ?? Thanks a lot!

    I tried it and it worked for me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.