Changeset 7459
- Timestamp:
- 07/13/2018 12:59:07 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/gutenberg-tweaks.php
r7321 r7459 22 22 */ 23 23 function load() { 24 if ( is_plugin_active( 'gutenberg/gutenberg.php' ) ) { 24 /** 25 * gutenberg_init() is only available when the Gutenberg plugin is active. 26 */ 27 if ( function_exists( '\\gutenberg_init' ) ) { 25 28 add_filter( 'gutenberg_can_edit_post_type', __NAMESPACE__ . '\disable_gutenberg_on_cpts', 10, 2 ); 26 29 add_filter( 'get_edit_post_link', __NAMESPACE__ . '\add_classic_param_to_edit_links' );
Note: See TracChangeset
for help on using the changeset viewer.