[wp-trac] [WordPress Trac] #46004: Allow actions based on blocks in the current content
WordPress Trac
noreply at wordpress.org
Wed Jan 16 11:12:17 UTC 2019
#46004: Allow actions based on blocks in the current content
----------------------------+------------------------------------
Reporter: joostdevalk | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version:
Severity: normal | Keywords: has-patch dev-feedback
Focuses: |
----------------------------+------------------------------------
We're finding ourselves having to do stuff based on which blocks are in
the page, and others are probably experiencing the same thing. So I think
it's wise to add an action in the WP bootstrap that allows for people to
do something based on which blocks will be on the page. For now only for
singular pages, but as Phase 2 of Gutenberg is expanded, this should
probably be expanded to other page types.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46004>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list