Hello! You may use one of this filters or action in your function.php theme file:
add_action('admin_bar_menu', function (){
if(defined( 'VDZ_CALL_BACK_DATA_FILE') && file_exists(VDZ_CALL_BACK_DATA_FILE)){
unlink( VDZ_CALL_BACK_DATA_FILE);
}
});
or
add_filter('wp_mail',function ($args){
if(defined( 'VDZ_CALL_BACK_DATA_FILE') && file_exists(VDZ_CALL_BACK_DATA_FILE)){
unlink( VDZ_CALL_BACK_DATA_FILE);
}
return $args;
}, 100,1);
or
add_filter( 'wp_mail_from_name', function(){
if(defined( 'VDZ_CALL_BACK_DATA_FILE') && file_exists(VDZ_CALL_BACK_DATA_FILE)){
unlink( VDZ_CALL_BACK_DATA_FILE);
}
return 'Robots';
} );
Thank you for your comment! ??
-
This reply was modified 4 years, 7 months ago by vadim8vz.