Return to Snippet

Revision: 56784
at April 15, 2012 20:15 by paul0078


Initial Code
function new_excerpt_length($length) {
	return 40;
}
add_filter('excerpt_length', 'new_excerpt_length');

Initial URL


Initial Description


Initial Title
Function to change the default length of excerpts

Initial Tags
php, wordpress

Initial Language
PHP