Reputation::ap_bp_nav( array $nav )

Description #

Add reputations nav link in BuddyPress profile.

Parameters #

  • $nav
    array (Required) Nav menu.

Source #

File: addons/reputation/reputation.php

	public function ap_bp_nav( $nav ) {
		$nav[] = array(
			'name' => __( 'Reputations', 'anspress-question-answer' ),
			'slug' => 'reputations',
		);
		return $nav;
	}

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