BP_Nouveau_Media::setup_filters()

Register add_filter() hooks

Description

Source

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

	protected function setup_filters() {

		// Register messages scripts
		add_filter( 'bp_nouveau_register_scripts', 'bp_nouveau_media_register_scripts', 10, 1 );

		// Localize Scripts
		add_filter( 'bp_core_get_js_strings', 'bp_nouveau_media_localize_scripts', 10, 1 );
	}

Changelog

Changelog
Version Description
BuddyPress 3.0.0 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.