get_row("SELECT * FROM $wpdb->posts WHERE ID=$post_id"); } // Add this with priority 1, so the cache will be correct for any subsequent actions add_action('edit_post', 'tguy_fb_update_post_cache', 1); ?>