Skip to content

Commit

Permalink
Merge branch 'Feat]-Disable-SearchWP-mail-summaries' into update_oct24
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Schaer committed Oct 3, 2024
2 parents f24ad69 + 2c2300b commit 9caded5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wordpress/wp-content/themes/les-verts/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 9caded5

Please sign in to comment.