| 9 | 9 | Now, filtering the REST response would work for the fields such as `menu_order` as you tested it, but it would not work for the title, content and excerpt. That means that Gutenberg/WP 5.0 introduces some inconsistent behavior. Some fields need to be filtered in the REST response and some other using the global `$post` variable (or the filters `default_content`, `default_excerpt` and `default_title` which in fact have always and are still just an indirect way to modify only 3 properties of the global variable). |