Created
March 4, 2026 12:46
-
-
Save propertyhive/549655da9c268ec74e79f5298f041ec2 to your computer and use it in GitHub Desktop.
Exclude user from daily schedule emails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'propertyhive_email_schedule_user_query', 'exclude_us' ); | |
| function exclude_us($args) | |
| { | |
| $args['exclude'] = array(1); // change 1 accordingly to your WordPress user ID | |
| return $args; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment