[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BackPress Scripts enqueue. These classes were refactored from the WordPress WP_Scripts and WordPress script enqueue API.
File Size: | 202 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
WP_Scripts:: (11 methods):
__construct()
print_scripts()
print_scripts_l10n()
do_item()
localize()
set_group()
all_deps()
do_head_items()
do_footer_items()
in_default_dir()
reset()
Class: WP_Scripts - X-Ref
BackPress Scripts enqueue class.__construct() X-Ref |
No description |
print_scripts( $handles = false, $group = false ) X-Ref |
Prints scripts Prints the scripts passed to it or the print queue. Also prints all necessary dependencies. param: mixed handles (optional) Scripts to be printed. (void) prints queue, (string) prints that script, (array of strings) prints those scripts. param: int group (optional) If scripts were queued in groups prints this group number. return: array Scripts that have been printed |
print_scripts_l10n( $handle, $echo = true ) X-Ref |
No description |
do_item( $handle, $group = false ) X-Ref |
No description |
localize( $handle, $object_name, $l10n ) X-Ref |
Localizes a script Localizes only if script has already been added param: string handle Script name param: string object_name Name of JS object to hold l10n info param: array l10n Array of JS var name => localized string return: bool Successful localization |
set_group( $handle, $recursion, $group = false ) X-Ref |
No description |
all_deps( $handles, $recursion = false, $group = false ) X-Ref |
No description |
do_head_items() X-Ref |
No description |
do_footer_items() X-Ref |
No description |
in_default_dir($src) X-Ref |
No description |
reset() X-Ref |
No description |
Generated: Thu Dec 26 01:01:04 2024 | Cross-referenced by PHPXref 0.7.1 |