bp_nouveau_members_register_scripts( array $scripts = array() )
Register Scripts for the Members component
Parameters Parameters
- $scripts
-
(array) (Optional) The array of scripts to register.
Default value: array()
Return Return
(array) The same array with the specific members scripts.
Source Source
File: bp-templates/bp-nouveau/includes/members/functions.php
function bp_nouveau_members_register_scripts( $scripts = array() ) { if ( ! isset( $scripts['bp-nouveau'] ) || ! bp_get_members_invitations_allowed() ) { return $scripts; } return array_merge( $scripts, array( 'bp-nouveau-member-invites' => array( 'file' => 'js/buddypress-member-invites%s.js', 'dependencies' => array(), 'footer' => true, ), ) ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
8.0.0 | Introduced. |