Notifications::get_reputation_points()

Description #

Return notification points if ref_type is reputation.

Source #

File: addons/notifications/query.php

	public function get_reputation_points() {
		if ( isset( $this->object->ref ) && isset( $this->object->ref->points ) ) {
			return $this->object->ref->points;
		}
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment