WP_Styles::all_deps( mixed $handles, bool $recursion = false, int|false $group = false )
Determines style dependencies.
Description
See also
Parameters
- $handles
-
(Required) Item handle and argument (string) or item handles and arguments (array of strings).
- $recursion
-
(Optional) Internal flag that function is calling itself.
Default value: false
- $group
-
(Optional) Group level: (int) level, (false) no groups.
Default value: false
Return
(bool) True on success, false on failure.
Source
File: wp-includes/class.wp-styles.php
public function all_deps( $handles, $recursion = false, $group = false ) {
$r = parent::all_deps( $handles, $recursion, $group );
if ( ! $recursion ) {
/**
* Filters the array of enqueued styles before processing for output.
*
* @since WP-2.6.0
*
* @param array $to_do The list of enqueued styles about to be processed.
*/
$this->to_do = apply_filters( 'print_styles_array', $this->to_do );
}
return $r;
}
Changelog
Version | Description |
---|---|
WP-2.6.0 | Introduced. |