430publicstaticfunctionset_instance(WP_Connector_Registry$registry):void{431if(!doing_action('init')){432_doing_it_wrong(433__METHOD__,434__('The connector registry instance must be set during the <code>init</code> action.'),435'7.0.0'436);437return;438}439440self::$instance=$registry;441}
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.1.0 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.