Title: wp_is_connector_registered
Published: May 20, 2026

---

# wp_is_connector_registered( string $id ): bool

## In this article

 * [Description](https://developer.wordpress.org/reference/functions/wp_is_connector_registered/?output_format=md#description)
    - [See also](https://developer.wordpress.org/reference/functions/wp_is_connector_registered/?output_format=md#see-also)
 * [Parameters](https://developer.wordpress.org/reference/functions/wp_is_connector_registered/?output_format=md#parameters)
 * [Return](https://developer.wordpress.org/reference/functions/wp_is_connector_registered/?output_format=md#return)
 * [Source](https://developer.wordpress.org/reference/functions/wp_is_connector_registered/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/wp_is_connector_registered/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/wp_is_connector_registered/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/functions/wp_is_connector_registered/?output_format=md#wp--skip-link--target)

Checks if a connector is registered.

## 󠀁[Description](https://developer.wordpress.org/reference/functions/wp_is_connector_registered/?output_format=md#description)󠁿

### 󠀁[See also](https://developer.wordpress.org/reference/functions/wp_is_connector_registered/?output_format=md#see-also)󠁿

 * [WP_Connector_Registry::is_registered()](https://developer.wordpress.org/reference/classes/WP_Connector_Registry/is_registered/)

## 󠀁[Parameters](https://developer.wordpress.org/reference/functions/wp_is_connector_registered/?output_format=md#parameters)󠁿

 `$id`stringrequired

The connector identifier.

## 󠀁[Return](https://developer.wordpress.org/reference/functions/wp_is_connector_registered/?output_format=md#return)󠁿

 bool True if the connector is registered, false otherwise.

## 󠀁[Source](https://developer.wordpress.org/reference/functions/wp_is_connector_registered/?output_format=md#source)󠁿

    ```php
    function wp_is_connector_registered( string $id ): bool {
    	$registry = WP_Connector_Registry::get_instance();
    	if ( null === $registry ) {
    		return false;
    	}

    	return $registry->is_registered( $id );
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/connectors.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/connectors.php#L23)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/connectors.php#L23-L30)

## 󠀁[Related](https://developer.wordpress.org/reference/functions/wp_is_connector_registered/?output_format=md#related)󠁿

| Uses | Description | 
| [WP_Connector_Registry::get_instance()](https://developer.wordpress.org/reference/classes/wp_connector_registry/get_instance/)`wp-includes/class-wp-connector-registry.php` |

Retrieves the main instance of the registry class.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/wp_is_connector_registered/?output_format=md#changelog)󠁿

| Version | Description | 
| [7.0.0](https://developer.wordpress.org/reference/since/7.0.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fwp_is_connector_registered%2F)
before being able to contribute a note or feedback.