ContentChange excerpt length add_filter( 'excerpt_length', function ( $length ) { // Number of words to display in the excerpt. return 40; }, 500 ); Previous Post Remove Gutenberg Block Library CSS from loading on the frontend Next Post Disable automatically deleting trashed posts