BP_Nouveau_Search::setup_actions()

Register do_action() hooks

Description

Source

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

	protected function setup_actions() {
		add_action( 'bp_nouveau_enqueue_scripts', 'bp_nouveau_search_enqueue_scripts' );

		if ( function_exists( 'bp_is_messages_component' ) ) {
			// Include the autocomplete JS for composing a message.
			if ( bp_is_messages_component() && bp_is_current_action( 'compose' ) ) {
				add_action( 'wp_head', 'bp_nouveau_search_messages_autocomplete_init_jsblock' );
			}
		}
	}

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.