WP_Connector_Registry::is_registered( string $id ): bool

Checks if a connector is registered.

Description

Do not use this method directly. Instead, use the wp_is_connector_registered() function.

See also

Parameters

$idstringrequired
The connector identifier.

Return

bool True if the connector is registered, false otherwise.

Source

public function is_registered( string $id ): bool {
	return isset( $this->registered_connectors[ $id ] );
}

Changelog

VersionDescription
7.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.