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

572
573
574
575
576
577
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