Getting a WordPress excerpt outside of the loop can be problematic as get_the_excerpt only accepts a post as an argument and not a post or post ID like most other WordPress functions. These functions get the post object and return the excerpt.