• Resolved cjameek

    (@cjameek)


    Hi,

    Is it possible to update an event’s start or end time through quick edit and update_post_meta? I noticed that the start date and time are concatenated in the database, so the challenge I’m running into is finding a way to update the respective part of that string with the updated date or time. Tried looking around to see how the Events Calendar plugin handles the separation and joining of the datetime string on save, but I’m still a little lost right now.

    This will probably turn out to be something extremely simple I’m overlooking, but any help is appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Barry

    (@barryhughes-1)

    Hi @cjameek!

    We can’t really go into depth when it comes to custom dev questions here in the free support forums, but I’d have thought this should be possible.

    If you’re already happy with the process of getting and updating post meta data using the appropriate functions supplied by WordPress (it sounds like you probably are), then the missing piece is probably just making use of suitable string handling functions supplied by PHP ??

    Good luck!

    Hey there! This thread has been inactive for a while so we’re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up and we’d be happy to help. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Updating start date/time through Quick Edit’ is closed to new replies.