Tech: Working with excerpts in WordPress, or why isn’t this filter working?

If you call get_the_excerpt() WordPress returns a string that looks like an excerpt – but it might be an automatically generated word-counted trimmed-down chunk of the post’s content. Here’s how I filtered  get_the_excerpt() to get the results I wanted.

Cross-posted from edinburghwp.com