Guest User

Untitled

a guest
Oct 12th, 2015
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.28 KB | None | 0 0
  1. if( ! function_exists( 'kappa_child_custom_excerpt_length' ) ){
  2.     /**
  3.      * @param unknown_type $length
  4.      * @return number
  5.      */
  6.     function kappa_child_custom_excerpt_length( $length ) {
  7.         return 70;
  8.     }
  9.     add_filter( 'excerpt_length', 'kappa_child_custom_excerpt_length', 9999, 1 );  
  10. }
Advertisement
Add Comment
Please, Sign In to add comment