Support

Home Forums Event Espresso Premium Duplicate event Yoast SEO settings

Duplicate event Yoast SEO settings

Posted: May 9, 2017 at 5:57 am


asteiner

May 9, 2017 at 5:57 am

Hi,

Is there a way to keep Yoast SEO settings on duplicate event?
Maybe some filter or something I could use to duplicate Yoast SEO settings too..?

Thank you.


Josh

  • Support Staff

May 9, 2017 at 7:27 am

Hi there,

You can actually use an action hook that fires at the end of the duplicating, and that hook is:

AHEE__Extend_Events_Admin_Page___duplicate_event__after

You can see the code that handles the duplication to get ideas on how to duplicate other things like Yoast SEO settings, here’s a link to the action hook in the context of the code:

https://github.com/eventespresso/event-espresso-core/blob/master/caffeinated/admin/extend/events/Extend_Events_Admin_Page.core.php#L643

The support post ‘Duplicate event Yoast SEO settings’ 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, 6 months ago ago

Topic Tags

Tagged: , ,

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.