ap_get_reputation_event_icon( string $event )

Description #

Get reputation event points.

Parameters #

  • $event
    string (Required) event slug.

Source #

File: includes/reputation.php

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

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

	return 'apicon-reputation';
}

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