Snippets: Remove Term Description from Paginated Pages

Most themes by default display the term description on all paginated pages of your taxonomy archives, however, you can easily hook into the WordPress term_description function to remove it from a paginated pages like such:

add_filter( 'term_description', function( $description ) {
	if ( is_paged() ) {
		return '';
	}
	return $description;
} );

Snippet Type: PHP

All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)