Opened 20 months ago
Last modified 14 months ago
#62470 new enhancement
Filter for get_the_block_template_html
| Reported by: | junaidbhura | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Editor | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Although a ticket already exists to add a filter for this function: https://core.trac.wordpress.org/ticket/61446
That particular ticket is a bit more ambitious than this one, and perhaps, will take a bit more time and consideration to be merged into core.
This ticket aims to be an interim solution for this.
The proposal is to add a hook for that function. There is currently no clean way to get the markup of the page before it is rendered on the front-end.
There are situations where we want to dynamically update links, and use the HTML processor on the markup dynamically, and there is no way to do this in a clean way for websites that use the Full Site Editor.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://core.trac.wordpress.org/ticket/62470