.ics Provider unknown

Issue #412 resolved
Željan Topić created an issue

Provider unknown appears on .ics file.

Comments (2)

  1. mattias @ refine.digital

    It would be great to have this added. I just added these two rows to class-wc-appointments-ics-exporter.php for test.

    Row 192-193.

    $admin_email = get_option( 'admin_email' );
    $ics .= 'ORGANIZER;CN="' . $this->sanitize_string( $sitename . '":mailto:' . $admin_email ) . $this->eol;
    

    BEFORE Screen Shot 2018-10-05 at 20.46.54.png

    AFTER Screen Shot 2018-10-05 at 20.45.15.png

    I'd agree. Adding a PHP iCalendar library like https://github.com/zcontent/icalendar together with a filter before creation would be even better :)

  2. Željan Topić reporter

    Thanks, we'll add this along with a couple of new filters that will allow you to change/filter the whole .ics output with 4.1.5.

  3. Log in to comment