I'm trying to use get_the_excerpt in edit-post to show show what a post will look like on the front-end, but it doesn't work. All other get_the_xxxx functions for the post works fine. I can show the title, date, metadata, but not the excerpt for some reason.
I tried this, didnt work either:
$text = apply_filters('the_excerpt', get_post_field('post_excerpt', $post_id));
Is there something preventing me from using get_the_excerpt on the edit-post page?