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
### Keybase proof | |
I hereby claim: | |
* I am kucrut on github. | |
* I am kucrut (https://keybase.io/kucrut) on keybase. | |
* I have a public key whose fingerprint is A2B0 583F C30F F49B DBE8 8A93 C61B 570E 98E1 350E | |
To claim this, I am signing this object: |
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( 'gutenberg_can_edit_post_type', function ( $can_edit, $post_type ) { | |
$can_edit = $post_type === 'page'; | |
return $can_edit; | |
}, 99, 2 ); |
OlderNewer