Is post meta accessible during transition_post_status?
-
Is post meta data accessible during transition_post_status?
I have hooked a function to ‘transition_post_status’ but am seeing null or empty returns for functions like get_post_meta and get_post_custom on valid keys.
Here is how I am hooking the function to ‘transition_post_status’. Perhaps the problem is related to priority?
add_action('transition_post_status','dfm_publish_to_twitter', 10, 3);
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Is post meta accessible during transition_post_status?’ is closed to new replies.