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

Description #

Add BuddyPress reputation page callback.

Parameters #

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

Source #

File: addons/free/reputation.php

	public static function ap_bp_page( $cb, $template ) {

		if ( 'reputations' === $template ) {
			return [ __CLASS__, '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