bp_admin_enqueue_scripts( string $hook_suffix = '' )

Piggy back admin_enqueue_scripts action.

Description

Parameters

$hook_suffix

(Optional) The current admin page, passed to 'admin_enqueue_scripts'.

Default value: ''

Source

File: bp-core/admin/bp-core-admin-actions.php

function bp_admin_enqueue_scripts( $hook_suffix = '' ) {

	/**
	 * Fires inside the bp_admin_enqueue_scripts function.
	 *
	 * @since BuddyPress 1.7.0
	 *
	 * @param string $hook_suffix The current admin page, passed to admin_enqueue_scripts.
	 */
	do_action( 'bp_admin_enqueue_scripts', $hook_suffix );
}

Changelog

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