diff --git a/wordpress/wp-content/themes/les-verts/functions.php b/wordpress/wp-content/themes/les-verts/functions.php index b3d5604a..a7cdaf62 100644 --- a/wordpress/wp-content/themes/les-verts/functions.php +++ b/wordpress/wp-content/themes/les-verts/functions.php @@ -45,6 +45,8 @@ function __construct() { // Filters // -> more info: https://developer.wordpress.org/reference/functions/add_filter/ add_filter( 'timber_context', array( $this, 'add_to_context' ), - 1 ); + // Disable SearchWP Email Summaries + add_filter( 'searchwp/email_summaries/disabled', '__return_true'); // Actions // -> more info: https://developer.wordpress.org/reference/functions/add_action/