You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hooks: add_action() used for use_block_editor_for_post_type filter #32
In wp-admin/includes/admin-filters.php at line 88, add_action() is used to register a callback on the use_block_editor_for_post_type hook, but this hook is fired with apply_filters() — making it a filter, not an action.
Activity
apermo commentedon Mar 8, 2026
Confirmed.
https://github.com/WordPress/wordpress-develop/blob/64086b2a15ef4ccf6443de2056646da1ee17d56d/src/wp-admin/includes/post.php#L2626-L2644
_disable_block_editor_for_navigation_post_type()already returns, so a change is not breaking.