AnsPress_Reputation_Hooks::ap_bp_nav( array $nav )

Description #

Add reputations nav link in BuddyPress profile.

Parameters #

  • $nav
    array (Required) Nav menu.

Source #

File: addons/free/reputation.php

	public static function ap_bp_nav( $nav ) {
		$nav[] = [ '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