[wp-trac] [WordPress Trac] #45275: Add a "use_block_editor_for_{post_type}" filter

WordPress Trac noreply at wordpress.org
Fri Dec 14 02:05:41 UTC 2018


#45275: Add a "use_block_editor_for_{post_type}" filter
------------------------------------+-------------------------
 Reporter:  pento                   |       Owner:  (none)
     Type:  enhancement             |      Status:  closed
 Priority:  normal                  |   Milestone:
Component:  Editor                  |     Version:  5.0
 Severity:  normal                  |  Resolution:  maybelater
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+-------------------------

Comment (by rilwis):

 @euthelup: the naming seems to be bad at the moment. However, when
 Gutenberg is used for other places such as widgets or menus, the part
 `for_post` and `for_post_type` is needed to make less confusion.

 @pento: I agree to add this filter to the core. It helps writing the code
 to disable Gutenberg on some parts of the website much easier.

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


More information about the wp-trac mailing list