Reputation::ap_bp_page( array $cb, string $template )

Description #

Add BuddyPress reputation page callback.

Parameters #

  • $cb
    array (Required) Callback function.
  • $template
    string (Required) Template.

Source #

File: addons/reputation/reputation.php

	public function ap_bp_page( $cb, $template ) {
		if ( 'reputations' === $template ) {
			return array( $this, 'bp_reputation_page' );
		}
		return $cb;
	}

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