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
// put this in functions.php or in your custom plugin or theme code. | |
$m = new Mandatory_Excerpt() | |
$m->add('post', 20 ); // will require all 'post' post types to have an excerpt at least 20 characters long | |
/** | |
* Helper class which removes specified metaboxes from specified pages. It manages setting up the hooks | |
* and calling them. | |
* | |
* @author: Michael Fielding | |
* |