Last active
January 20, 2020 08:28
-
-
Save bwonur/a879b934b7d39718ead3fcc0baeaf9ef to your computer and use it in GitHub Desktop.
Revisions
-
bwonur revised this gist
Jan 20, 2020 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -16,4 +16,5 @@ Change to: ); register_post_type('book',$args); pealm.net pealm.com -
bwonur revised this gist
Jan 20, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -16,4 +16,4 @@ Change to: ); register_post_type('book',$args); pealm.net -
bwonur revised this gist
Jan 20, 2020 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -14,4 +14,6 @@ Change to: // ... 'supports' => array('title','editor','thumbnail','comments') ); register_post_type('book',$args); pealm.net -
bwonur created this gist
Jan 20, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ Remove the `revisions` property inside the `supports` parameter of `register_post_type()`. **Example** $args = array( // ... 'supports' => array('title','editor','thumbnail','comments','revisions') ); register_post_type('book',$args); Change to: $args = array( // ... 'supports' => array('title','editor','thumbnail','comments') ); register_post_type('book',$args);