[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Dependencies API: _WP_Dependency class
File Size: | 139 lines (3 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
_WP_Dependency:: (3 methods):
__construct()
add_data()
set_translations()
Class: _WP_Dependency - X-Ref
Class _WP_Dependency__construct( ...$args ) X-Ref |
Setup dependencies. param: mixed ...$args Dependency information. |
add_data( $name, $data ) X-Ref |
Add handle data. param: string $name The data key to add. param: mixed $data The data value to add. return: bool False if not scalar, true otherwise. |
set_translations( $domain, $path = '' ) X-Ref |
Sets the translation domain for this dependency. param: string $domain The translation textdomain. param: string $path Optional. The full file path to the directory containing translation files. return: bool False if $domain is not a string, true otherwise. |
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |