[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * BP Members component CSS/JS. 4 * 5 * @package BuddyPress 6 * @subpackage MembersScripts 7 * @since 9.0.0 8 */ 9 10 // Exit if accessed directly. 11 defined( 'ABSPATH' ) || exit; 12 13 /** 14 * Registers the script to manage the dynamic part of the Dynamic Members widget/block. 15 * 16 * @since 9.0.0 17 * 18 * @param array $scripts Data about the scripts to register. 19 * @return array Data about the scripts to register. 20 */ 21 function bp_members_register_scripts( $scripts = array() ) { 22 $scripts['bp-dynamic-members-script'] = array( 23 'footer' => true, 24 'file' => plugins_url( 'js/dynamic-members.js', __FILE__ ), 25 'dependencies' => array( 26 'bp-dynamic-widget-block-script', 27 'wp-i18n', 28 ), 29 ); 30 31 return $scripts; 32 } 33 add_filter( 'bp_core_register_common_scripts', 'bp_members_register_scripts', 9, 1 );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Dec 22 01:00:54 2024 | Cross-referenced by PHPXref 0.7.1 |