Home > @tridion-sites/extensions > OptionalContentExplorerHook
Hook for accessing Content Explorer data and methods when available.
Signature:
export type OptionalContentExplorerHook = () => ContentExplorerHookResult | undefined;
References: ContentExplorerHookResult
Safe to be used within or outside of the Content Explorer. undefined
is returned when used outside of Content Explorer.