Getting post id from wp_insert_post_data function?
I’m trying to use the function get_the_tags() from outside the ‘loop’. I understand this can be achieved by using the post ID like get_the_tags($postID). Does anyone know how I can get the post ID from inside a wp_insert_post_data function? I’ve tried using ‘guid’ which is suggested here, although I’ve had no luck. I’m also not … Read more