[Solved] Running a function on post content and CPT meta


I would filter which posts go into the option, that’s light enough processing that it can be done on that end.

To get the content of the post you can use get_post( $v );.

To get the metavalues for the post you can use get_post_custom( $v );.

To update the meta values you will use update_post_meta(). You will have to do these individually.

solved Running a function on post content and CPT meta