bp_nouveau_member_restrict_user_front_templates( array $templates = array() )

Only locate global user’s front templates


Description Description


Parameters Parameters

$templates

(Optional) The User's front template hierarchy.

Default value: array()


Top ↑

Return Return

(array) Only the global front templates.


Top ↑

Source Source

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

function bp_nouveau_member_restrict_user_front_templates( $templates = array() ) {
	return array_intersect( array(
		'members/single/front.php',
		'members/single/default-front.php',
	), $templates );
}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.