[wp-trac] [WordPress Trac] #46187: Add a dynamic hook to filter the content of a single block.

WordPress Trac noreply at wordpress.org
Tue Nov 24 16:40:00 UTC 2020


#46187: Add a dynamic hook to filter the content of a single block.
----------------------------+---------------------
 Reporter:  manzoorwani.jk  |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  5.7
Component:  Editor          |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+---------------------
Changes (by johnbillion):

 * keywords:  has-patch close 2nd-opinion => has-patch
 * milestone:  Awaiting Review => 5.7


Comment:

 This is a fairly common pattern in core, see for example:
 `gettext`/`gettext_{$domain}`,
 `plugin_action_links`/`plugin_action_links_{$plugin_file}`,
 `manage_posts_columns`/`manage_{$post_type}_posts_columns`, etc. The
 dynamically named filter should come after the generic one.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46187#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list