How to cut the passage?

I for some reason have ceased to be circumcised the text feature stopped working, not sure why. Here is the function:
// Trim the text
add_filter( 'excerpt_length', function(){
return 20;
} );
Where can I dig to fix it or tell me what to do.
April 4th 20 at 00:30
1 answer
April 4th 20 at 00:32
On ripped out the piece of code in a vacuum as nothing and no one can say.
In General https://wp-kama.ru/ forward

Find more questions by tags WordPress