313publicfunctionadd_data($handle,$key,$value){314if(!isset($this->registered[$handle])){315returnfalse;316}317if('conditional'===$key&&'_required-conditional-dependency_'!==$value){318_deprecated_argument(319'WP_Dependencies->add_data()',320'6.9.0',321__('IE conditional comments are ignored by all supported browsers.')322);323}324325return$this->registered[$handle]->add_data($key,$value);326}
History
Introduced in 2.6.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/class-wp-dependencies.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.