Summery Summery

Determines style dependencies.

Syntax Syntax

WP_Styles::all_deps( string|string[] $handles, bool $recursion = false, int|false $group = false )

Parameters Parameters


(Required) Item handle (string) or item handles (array of strings).


(Optional) Internal flag that function is calling itself.

Default value: false


(Optional) Group level: level (int), no groups (false).

Default value: false

Return Return

(bool) True on success, false on failure.

Source Source

File: wp-includes/class.wp-styles.php

	 *                                   Default false.
	 * @return bool True on success, false on failure.
	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 );


Changelog Changelog

Version Description
2.6.0 Introduced.

See also See also


Leave a Reply