This work is part of the iteration issue DataViews, DataForm, et. al. in WordPress 7.1 and it has been tracked at #76544. Check the full details of the API in the handbook.

WordPress 7.1 introduces four new filters to configure Site Editor screens:

PageFilter namePagesget_entity_view_config_postType_pageTemplatesget_entity_view_config_postType_wp_templatePartsget_entity_view_config_postType_wp_template_partPatternsget_entity_view_config_postType_wp_block

Each filter can configure the DataViews and DataForm components that power those screens:

default_view: the default DataViews configuration (e.g., what fields are visible, what is the default sort order, etc.) default_layouts: the default DataViews layouts (e.g., what layouts are available for the user to choose from) view_list: the preconfigured views displayed in the sidebar

Click here to continue reading this article.