wp-view-config-api

Installation
SKILL.md

WordPress View Config API

WordPress 7.1 builds DataViews-style defaults for an entity through wp_get_entity_view_config(). Plugins contribute versioned patches with WP_View_Config_Data; they do not replace REST controllers, entity data, or authorization.

Choose the exact entity hook

The filter is dynamic and its kind/name segments are lowercased. Generate it instead of guessing:

$hook = wp_get_entity_view_config_hook_name( 'postType', 'book' );
// get_entity_view_config_posttype_book

For a REST-exposed book post type:

Installs
1
GitHub Stars
22
First Seen
1 day ago
wp-view-config-api — lonsdale201/wp-agent-skills