Created
April 20, 2018 15:50
-
-
Save dikiyforester/0e5d6fe68047769bb570bb44201fa0bb to your computer and use it in GitHub Desktop.
Disables Expired Listing email
This file contains 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
<?php | |
/* | |
* Plugin Name: Disable Expired Listing Email | |
* Description: Disable Expired Listing Email | |
* Version: 1.0.0 | |
* Author: Artem Frolov (dikiyforester) | |
* Author URI: https://www.appthemes.com/members/dikiyforester/ | |
*/ | |
function my_appthemes_notify_user_expired_listing( $args ) { | |
$args['to'] = ''; | |
return $args; | |
} | |
add_filter( 'appthemes_notify_user_expired_listing', 'my_appthemes_notify_user_expired_listing' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment