swap custom field by the post content

I’m wondering if it’s possible to have a custom field back inside of the_content converting the the text inside the_content into a custom field?

Just imagine:

The post A has this text: this is my post content and the custom field video.

I need to have the “this is my post content” converted in to a custom field called description and have the content of the custom field video, inside of the_content and delete all the custom fields called video.

Any Ideas?

Read more here:: swap custom field by the post content

Leave a Reply

Your email address will not be published. Required fields are marked *