wzkb_send_low_rating_notification
Filter whether to send low rating notification.
Type: filter
Since: 3.0.0
Source: includes/pro/rating/class-rating-email.php line 65
Parameters
| Type | Name | Description |
|---|---|---|
bool |
$send |
Whether to send notification. |
int |
$post_id |
Post ID. |
int |
$rating |
Rating value. |
string |
$feedback |
Feedback text. |
string |
$mode |
Rating mode. |
array |
$stats |
Rating statistics. |
Usage
add_filter( 'wzkb_send_low_rating_notification', function($send, $post_id, $rating, $feedback, $mode, $stats) {
// ...
return $send;
} );