Opened 4 years ago
Last modified 3 years ago
#56993 new feature request
I want to put a filter in the wp_enqueue_block_support_styles function.
| Reported by: | nendeb55 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Script Loader | Version: | 6.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description (last modified by )
In the wp_enqueue_block_support_styles function, I'm changing the $action_hook_name to header or footer for block theme and classic theme.
In that case, when using PHP templates in a customized scene with a block theme, the CSS may not be output if it is a header.
(If it is a footer, it will be output.)
So I would like to put a filter in the wp_enqueue_block_support_styles function so that $action_hook_name can be changed freely
https://developer.wordpress.org/reference/functions/wp_enqueue_block_support_styles/
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
For example.