Changes between Initial Version and Version 1 of Ticket #46743, comment 11
- Timestamp:
- 04/16/2019 04:27:12 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #46743, comment 11
initial v1 1 1 A method involving the use of `add_theme_support()` is doable but I don't like the idea of having to define both the hook in the template and a support string in my setup functions. It seems redundant to need both. 2 2 3 Could we instead add a support method late (directly inside the `wp_body_open` hook) If a theme includes the hook in their template then it auto-adds the support. This would mean that plugin developers would need to do late detection .3 Could we instead add a support method late (directly inside the `wp_body_open` hook) If a theme includes the hook in their template then it auto-adds the support. This would mean that plugin developers would need to do late detection - late detection may be preferable than redundant registration boilerplate code.