wpseek.com
A WordPress-centric search engine for devs and theme authors
get_entity_view_config_{$kind}_{$name} › WordPress Filter Hooks
Since7.1.0
Deprecatedn/a
› $filtered = apply_filters(
| Parameters: (2) |
|
| Defined at: |
|
| Codex: |
Filters the view configuration for a given entity.
The dynamic portions of the hook name, `$kind` and `$name`, refer to the entity kind (e.g. `postType`) and the entity name (e.g. `page`). Callbacks receive a WP_View_Config_Data object and change the configuration through its methods: the `update_*()` methods merge partial changes into the current configuration, while `set()` replaces a whole top-level key. Callbacks must return the object they were given.Related Functions: wp_get_entity_view_config, _wp_get_entity_view_config_post_type_page, _wp_get_entity_view_config_post_type_wp_block, _wp_get_entity_view_config_post_type_wp_template, _wp_get_entity_view_config_post_type_wp_template_part, get_current_site_name
Related Hooks: get_the_modified_time