bp_nouveau_get_user_profile_actions()

Return saved profile header buttons by order

Description

Return

(mixed|void)

Source

File: bp-templates/bp-nouveau/includes/functions.php

function bp_nouveau_get_user_profile_actions() {
	$bp_nouveau_appearance     = maybe_unserialize( bp_get_option( 'bp_nouveau_appearance' ) );
	$profile_header_btn_orders = isset( $bp_nouveau_appearance['user_profile_actions_order'] )
		? $bp_nouveau_appearance['user_profile_actions_order'] : array();

	/**
	 * Filter the header buttons
	 *
	 * @since BuddyBoss 1.5.1
	 */

	return apply_filters( 'bp_nouveau_get_user_profile_actions', $profile_header_btn_orders );
}

Changelog

Changelog
Version Description
BuddyBoss 1.5.1 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.