wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



get_entity_view_config_{$kind}_{$name} › WordPress Filter Hooks

Seit7.1.0
Veraltetn/v
$filtered = apply_filters(
Parameter: (2)
  • () data The view configuration container for the entity, exposing the `default_view`, `default_layouts`, `view_list`, and `form` keys.
    Erforderlich: Ja
  • () entity { The entity the configuration is built for. @type string $kind The entity kind. @type string $name The entity name. }
    Erforderlich: Nein
    Standard:
Definiert in:
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.




Ähnliche Hooks: get_the_modified_time

Quellcode

$filtered = apply_filters(