WordPress at a glance
function is not described

WP_Styles::all_deps() public WP 2.6.0

Determines style dependencies.

{} It's a method of the class: WP_Styles{}

Hooks from the method
Return

true/false. True on success, false on failure.

Usage

global $wp_styles;
$wp_styles->all_deps( $handles, $recursion, $group );
$handles(string/string[]) (required)
Item handle (string) or item handles (array of strings).
$recursion(true/false)
Internal flag that function is calling itself.
Default: false
$group(int/false)
Group level: level (int), no groups (false).
Default: false

Notes

  • See: WP_Dependencies::all_deps()

Changelog

Since 2.6.0 Introduced.

Code of WP_Styles::all_deps() WP 5.5.1

<?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 2.6.0
		 *
		 * @param string[] $to_do The list of enqueued style handles about to be processed.
		 */
		$this->to_do = apply_filters( 'print_styles_array', $this->to_do );
	}
	return $r;
}