[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BackPress styles procedural API.
File Size: | 131 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
wp_print_styles( $handles = false ) X-Ref |
Display styles that are in the queue or part of $handles. since: r79 param: array|bool $handles Styles to be printed. An empty array prints the queue, return: bool True on success, false on failure. |
wp_register_style( $handle, $src, $deps = array() X-Ref |
Register CSS style file. since: r79 param: string $handle Name of the stylesheet. param: string|bool $src Path to the stylesheet from the root directory of WordPress. Example: '/css/mystyle.css'. param: array $deps Array of handles of any stylesheet that this stylesheet depends on. param: string|bool $ver String specifying the stylesheet version number. Set to NULL to disable. param: string $media The media for which this stylesheet has been defined. |
wp_deregister_style( $handle ) X-Ref |
Remove a registered CSS file. since: r79 param: string $handle Name of the stylesheet. |
wp_enqueue_style( $handle, $src = false, $deps = array() X-Ref |
Enqueue a CSS style file. Registers the style if src provided (does NOT overwrite) and enqueues. since: r79 param: string $handle Name of the stylesheet. param: string|bool $src Path to the stylesheet from the root directory of WordPress. Example: '/css/mystyle.css'. param: array $deps Array of handles (names) of any stylesheet that this stylesheet depends on. param: string|bool $ver String specifying the stylesheet version number, if it has one. This parameter param: string $media The media for which this stylesheet has been defined. |
wp_style_is( $handle, $list = 'queue' ) X-Ref |
Check whether style has been added to WordPress Styles. The values for list defaults to 'queue', which is the same as wp_enqueue_style(). since: WP unknown; BP unknown param: string $handle Name of the stylesheet. param: string $list Values are 'registered', 'done', 'queue' and 'to_do'. return: bool True on success, false on failure. |
Generated: Mon Oct 14 01:00:54 2024 | Cross-referenced by PHPXref 0.7.1 |