Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LatestPosts] Fixes the excerpt length (#20313)
* adds a filter that sets the excerpt length to what was set in the editor * adds named function as excerpt filter and removes after use * adds PHP doc to the new filter callback and global variable * default to using an anonymous function since it appears that it can be remove and is not affecting theme set length * revert to named function for excerpt length filter * proper function names for Guternberg namespace * lower default priority for the latest posts excerpt length filter
- Loading branch information