312publicfunctionadd_data($handle,$key,$value){313if(!isset($this->registered[$handle])){314returnfalse;315}316if('conditional'===$key&&'_required-conditional-dependency_'!==$value){317_deprecated_argument(318'WP_Dependencies->add_data()',319'6.9.0',320__('IE conditional comments are ignored by all supported browsers.')321);322}323324return$this->registered[$handle]->add_data($key,$value);325}
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 6.9.7 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.