Changeset 8568
- Timestamp:
- 04/02/2019 08:40:33 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/gutenberg-tweaks.php
r8567 r8568 29 29 */ 30 30 function disable_block_editor_for_wordcamp( $use_block_editor, $post_type ) { 31 if ( ! defined( 'WCPT_POST_TYPE_ID' ) ) { 32 return $use_block_editor; 33 } 31 34 return $use_block_editor && WCPT_POST_TYPE_ID !== $post_type; 32 35 }
Note: See TracChangeset
for help on using the changeset viewer.