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