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)
  • () data The view configuration container for the entity, exposing the `default_view`, `default_layouts`, `view_list`, and `form` keys.
    Required: Yes
  • () entity { The entity the configuration is built for. @type string $kind The entity kind. @type string $name The entity name. }
    Required: No
    Default:
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 Hooks: get_the_modified_time

Source

$filtered = apply_filters(