419publicstaticfunctionset_instance(WP_Connector_Registry$registry):void{420if(!doing_action('init')){421_doing_it_wrong(422__METHOD__,423__('The connector registry instance must be set during the <code>init</code> action.'),424'7.0.0'425);426return;427}428429self::$instance=$registry;430}
History
Introduced in 7.0.0. Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 7.0.4 tag, from src/wp-includes/class-wp-connector-registry.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.