Event Time Intervals

This topic contains 5 replies, has 3 voices, and was last updated by  Naveen Giri 1 month, 1 week ago.

  • Author
    Posts
  • #525795

    Will Hill
    Full Member
    Post count: 62

    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
    Full Member
    Post count: 62
    This reply has been marked as private.
    #525887

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

    Naveen Giri
    Moderator
    Post count: 1196

    A valid licence is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid licence for this product.

    Thanks, Team GeoDirectory!

    #526094

    Will Hill
    Full Member
    Post count: 62

    A valid licence is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid licence for this product.

    Thanks, Team GeoDirectory!

    #526118

    Naveen Giri
    Moderator
    Post count: 1196

    A valid licence is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid licence for this product.

    Thanks, Team GeoDirectory!

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

You must be logged in to reply to this topic.