Created
June 8, 2021 20:33
-
-
Save chrisvanpatten/d8ec6f7333e31941c382d3bb76ada6d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'block_editor_settings', function ( $settings ) { | |
$settings['codeEditingEnabled'] = false; | |
return $settings; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment