Register do_action() hooks

Source Source

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

	protected function setup_actions() {
		// Notices
		add_action( 'widgets_init', 'bp_nouveau_unregister_notices_widget' );
		add_action( 'bp_init', 'bp_nouveau_push_sitewide_notices', 99 );

		// Messages
		add_action( 'bp_messages_setup_nav', 'bp_nouveau_messages_adjust_nav' );

		// Remove deprecated scripts
		remove_action( 'bp_enqueue_scripts', 'messages_add_autocomplete_js' );

		// Enqueue the scripts for the new UI
		add_action( 'bp_nouveau_enqueue_scripts', 'bp_nouveau_messages_enqueue_scripts' );

		// Register the Messages Notifications filters
		add_action( 'bp_nouveau_notifications_init_filters', 'bp_nouveau_messages_notification_filters' );

Top ↑

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.