Checks if a block bindings source is registered.
Parameters
$source_name
stringrequired- The name of the source.
Source
public function is_registered( $source_name ) {
return isset( $this->sources[ $source_name ] );
}
Changelog
Version | Description |
---|---|
6.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.