Skip to content

Commit b2fb47b

Browse files
authored
Merge pull request #7032 from Rockerby/patch-8
Correct reference to unregister export
2 parents 889c1e8 + d87562d commit b2fb47b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

15/umbraco-cms/customizing/extending-overview/extension-registry/replace-exclude-or-unregister.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ UmbExtensionRegistry.exclude('Umb.WorkspaceAction.Document.SaveAndPreview');
5454

5555
## Unregister
5656

57-
You can also choose to unregister an extension, this is only preferred if you registered the extension and are in control of the flow. If its not your Extension please seek to use the `Overwrites` or `Exclude` feature.
57+
You can also choose to unregister an extension, this is only preferred if you registered the extension and are in control of the flow. If it's not your Extension please seek to use the `Overwrites` or `Exclude` feature.
5858

5959
```typescript
60-
import { UmbExtensionRegistry } from '@umbraco-cms/backoffice/extension-api';
60+
import { umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry';
6161

62-
UmbExtensionRegistry.unregister('My.WorkspaceAction.AutoFillWithUnicorns');
62+
umbExtensionsRegistry.unregister('My.WorkspaceAction.AutoFillWithUnicorns');
6363
```
6464

6565
This will not prevent the Extension from being registered again.

0 commit comments

Comments
 (0)