📅  最后修改于: 2022-03-11 14:53:38.174000             🧑  作者: Mango
// Filter except length to 35 words.
// tn custom excerpt length
function tn_custom_excerpt_length( $length ) {
return 35;
}
add_filter( 'excerpt_length', 'tn_custom_excerpt_length', 999 );