BP_Nouveau_Members::setup_filters()

Register add_filter() hooks


Source Source

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

	protected function setup_filters() {
		// Add the default-front to User's front hierarchy if user enabled it (Enabled by default).
		add_filter( 'bp_displayed_user_get_front_template', 'bp_nouveau_member_reset_front_template', 10, 1 );
		add_filter( 'bp_nouveau_register_scripts', 'bp_nouveau_members_register_scripts', 10, 1 );

		// The number formatting is done into the `bp_nouveau_nav_count()` template tag.
		remove_filter( 'bp_get_total_member_count', 'bp_core_number_format' );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Removes the BP Core number formatting filter on total members count.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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