• Resolved Hobbit78

    (@hobbit78)


    Hi there,

    I want to change the format of $start_date in the function sep_get_the_event_start_date.

    How can I do this?

    Thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author PressTigers

    (@presstigers)

    Hello

    This function resides in simple-event-planner/public/partials/simple-event-planner-template-functions.php

    Kindly go to the file & then function and understand code. After that you can write your own code in template, not in function.

    Thanks & Regards
    PressTigers

    Thread Starter Hobbit78

    (@hobbit78)

    Hi,

    Thanks for your reply.
    Good for pointing me in the right direction.

    I think i can figure that out.

    Thanks and keep up the good work!

    Cheers.

    rednas

    (@doppiej)

    I am also interested in this. Can you please point me in the direction of how to change the function in template?
    I know how I can change the code inside the plugin, but I want it to work also after updating the plugin.

    Plugin Author PressTigers

    (@presstigers)

    Hi

    You can get existing date format from this function sep_get_the_event_start_date
    and convert in into your required date format.

    You need to make all these changes/customisations after overriding template. Overriding technique is mentioned in header of every template.

    Good Luck & Happy Code Customisation!

    Thanks & Regards
    PressTigers

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Modify functions’ is closed to new replies.