useLocalize
useLocalize is a helper hook that will return the plugin's localizations
How to use
useLocalize accepts a selector as an argument to select a part of the localization object instead of returning all
Let's say that your localization object looks something like this:
And you want to get the error_handlers
object in your code:
Last updated