Event Time Intervals

This topic contains 5 replies, has 3 voices, and was last updated by  Naveen Giri 4 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #525795

    Will Hill
    Expired Member
    Post count: 73

    Hello,

    I’ve used this snippet from the documentation to try to let events schedule within 5 minute intervals, however, it is still only allowing 15 minute intervals. Is there something that I did wrong here:

    /**
     * Set event fields time interval.
     */
    function gd_snippet_190307_event_time_increment( $interval ) {
    	$interval = 5; // In minutes
    	
    	return $interval;
    }
    add_filter( ‘geodir_event_time_increment’, ‘gd_snippet_190307_event_time_increment’, 10, 1 );
    #525796

    Will Hill
    Expired Member
    Post count: 73
    This reply has been marked as private.
    #525887

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #525956

    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!

    #526094

    Will Hill
    Expired Member
    Post count: 73

    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!

    #526118

    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 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket