Property `globals`

The last parameter of almost all the hooks of Library Viewer is the global property of the current object.

Watch out!! The same hook maybe can be called in 2 different objects, as you can see below.
The solution to this is the $globals[‘current_viewer’] that you can use with conditional logic.

Select the plugins that you use:





Scroll to top