Last active
June 15, 2017 13:02
-
-
Save fahidjavid/fe711f072abca9a7fef2e3c31edebdb7 to your computer and use it in GitHub Desktop.
A list of useful WordPress constants that can be used in themes and plugins day to day development.
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 characters
| <?php | |
| ##### General ##### | |
| define('WP_POST_REVISIONS', 3); // Values: true|false|number (Default: true) | |
| /* (De)activates the revision function for posts. A number greater than 0 defines the number of revisions for one post. */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment