default_wp_template_part_areas WordPress Filter Hook
The default_wp_template_part_areas hook is used to specify the default areas for template parts in WordPress. By default, template parts are placed in the "content" area. This hook allows you to change the default placement of template parts, or add new areas for template parts.
apply_filters( 'default_wp_template_part_areas', array $default_area_definitions ) #
Filters the list of allowed template part area values.
Parameters
- $default_area_definitions
(array)An array of supported area objects.
Source
Changelog
Version | Description |
---|---|
5.9.0 | Introduced. |