Recent

Rating_Email class Pro only

Rating_Email

Rating_Email class.

Namespace: WebberZone\Knowledge_Base\Pro\Rating
Since: 3.0.0
Source: includes/rating/class-rating-email.php line 22

Methods

send_low_rating_notification()

Send email notification for low ratings.

Since: 3.0.0
Line: 35

public function send_low_rating_notification( $post_id, $rating, $feedback, $mode, $stats );
TypeNameDescription
int$post_idPost ID.
int$ratingRating value.
string$feedbackFeedback text.
string$modeRating mode.
array$statsRating statistics.

set_html_content_type()

Set HTML content type for emails.

Since: 3.0.0
Line: 130

public function set_html_content_type(  ): string;

Returns: string — Content type.