Feature request – Add hook to replace comma in event date

This topic contains 2 replies, has 3 voices, and was last updated by  Naveen Giri 6 months, 2 weeks ago.

Tagged: 

  • Author
    Posts
  • #539024

    Alain CHAXEL
    Full Member
    Post count: 18

    It would be very helpful if you could add a very simple hook in /wp-content/plugins/geodir_event_manager/includes/class-geodir-event-schedules.php on line 514.

    BEFORE:

    
    $schedule .= ', ' . date_i18n( $time_format, strtotime( $start_time ) );
    

    AFTER:

    
    $date_time_sep = apply_filters('geodir_event_date_time_separator', ', ');
    $schedule .= $date_time_sep . date_i18n( $time_format, strtotime( $start_time ) );
    

    Thanks!

    #539048

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #539098

    Naveen Giri
    Moderator
    Post count: 1559

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Feature request – Add hook to replace comma in event date’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.