Crocoblock / suggestions

The suggestions for CrocoBlock project
195 stars 78 forks source link

Post Duplication with Custom Meta Storage Support #7619

Open mehdimoradi1500 opened 3 months ago

mehdimoradi1500 commented 3 months ago

I propose a new feature for Jetengine that would significantly improve its functionality for users who create custom post types with "Custom meta storage." Currently, when duplicating posts using existing methods, custom fields stored in the separate Jetengine meta storage table are not copied over.

Problem:

Proposed Solution: I propose implementing a post duplication feature within Jetengine that seamlessly handles custom fields stored in the "Custom meta storage" option. This feature should ideally: Duplicate all custom fields: When a user duplicates a post, all associated custom fields, including repeaters and other complex field types, should be copied over to the new post and stored in the corresponding Jetengine meta storage table. User-friendly interface: The duplication functionality should be integrated into the existing post management interface within Jetengine for a smooth user experience.

Benefits: Enhanced workflow efficiency: This feature would significantly streamline workflows that involve duplicating posts with custom meta storage fields. Reduced errors: Manual data transfer is eliminated, minimizing the risk of errors during duplication. Improved user experience: A seamless duplication process would enhance Jetengine's overall usability for users who rely on this functionality.

DaviDuarte22 commented 3 months ago

I already reported the error about the native hooks not being activated for update postmeta created postmeta, and I was told that it would be run next time. With the hooks being activated, all functions that use these hooks to deal with the goals will start working again. Let's wait. https://github.com/Crocoblock/suggestions/issues/7598

mehdimoradi1500 commented 3 months ago

all functions that use these hooks to deal with the goals will start working again

So it means that duplication will work again without any coding?