Home > @tridion-sites/extensions > useOptionalContentExplorer
Hook for accessing Content Explorer data and methods, if available.
Signature:
useOptionalContentExplorer: OptionalContentExplorerHook;
Safe to be used within or outside of the Content Explorer. undefined
is returned when used outside of Content Explorer.