Remove time from emails

Posted · Add Comment

Scheduler Forums BirchPress Scheduler Remove time from emails

This topic contains 0 replies, has 1 voice, and was last updated by  de Novo 5 years, 5 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #35835

    de Novo
    Participant

    I have tried submitting two tickets and posting to wordpress.org with no answers. The script I was give:

    <?php

    add_filter(‘birchschedule_model_cpt_appointment_post_get’, function($appointment) {
    global $birchpress;

    if ( isset( $appointment[‘_birs_appointment_timestamp’] ) ) {
    $timestamp = $appointment[‘_birs_appointment_timestamp’] );
    $date_format = get_option( ‘date_format’ );
    $appointment[‘_birs_appointment_date’] = $birchpress->util->date_i18n( $date_format, $timestamp );
    }

    return $appointment;
    });

    ?>

    is not working to remove out the time on emails. I just want the date to show. Currently nothing is showing. This PHP code was sent to me by BirchPress but now they wont respond.

Viewing 1 post (of 1 total)

The forum ‘BirchPress Scheduler’ is closed to new topics and replies.

Comments are closed.