Created
February 9, 2018 12:46
-
-
Save sybrew/587035398f7b571b30cf95ceb9ed6bdc to your computer and use it in GitHub Desktop.
Remove editor support requirement in TSF
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 | |
//! Don't include the php tag. | |
add_filter( 'the_seo_framework_custom_post_type_support', function( $support ) { | |
return array_diff( $support, array( 'editor' ) ); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment