Support

Home Forums Event Espresso Premium Duplicate event meta with event

Duplicate event meta with event

Posted: June 24, 2016 at 2:57 pm


Tony

  • Support Staff

June 27, 2016 at 4:11 am

Hi Chris,

Which version of Event Espresso are you using please?


Chris

June 27, 2016 at 7:57 am

Hi Tony,
EE 4.9.1
WP 4.5.3

Thanks


Chris

June 27, 2016 at 9:01 am

ACF 5.3.9.1 if that matters


Josh

  • Support Staff

June 27, 2016 at 11:14 am

You should be able to use the

AHEE__Extend_Events_Admin_Page___duplicate_event__after

action hook to programmatically duplicate post meta fields and values from the original event onto the new, duplicate, event.


Chris

July 7, 2016 at 12:32 pm

HI Josh do you have an example of how this would be used? Is this something that will be supported in future updates?

thanks,
chris


Josh

  • Support Staff

July 7, 2016 at 12:39 pm

Code example wise, you can take a look at the _duplicate_event() method in EE4 core’s /caffeinated/admin/extend/events/Extend_Events_Admin_Page.core.php to see how the various items are duplicated.

We are not planning on changing the duplicate event feature to include event meta in a future update. The reason is because post meta data tends to be inconsistent.

The support post ‘Duplicate event meta with event’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 2 years, 11 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!