ap_get_reputation_event_points( string $event )

Description #

Get reputation event points.

Parameters #

  • $event
    string (Required) event slug.

Source #

File: includes/reputation.php

function ap_get_reputation_event_points( $event ) {
	$events = ap_get_reputation_events();

	if ( isset( $events[ $event ] ) ) {
		return $events[ $event ]['points'];
	}

	return 0;
}

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