From just looking at your snippet you’re not actually setting $post_revisions
to any value before assigning it to your $post_data
array
From just looking at your snippet you’re not actually setting $post_revisions
to any value before assigning it to your $post_data
array