Customize the New Coupons Excerpt Length
Hello,
How I can change the excerpt of coupons to be shorter?
including this in functions.php does not work:
function custom_excerpt_length( $length ) {
return 20;
}
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
Thanks in advance