Snippets: Load Lightbox Scripts Site-Wide

Important: Since Total 4.9.3 there is now a setting in the Customizer to enable the scripts globally so you don't need any custom code!

add_filter( 'wpex_load_ilightbox_globally', '__return_true' );

Version Required:4.0+

Snippet Type: PHP

Posted Under: Lightbox

All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)