Skip to content

Snippet: Enable Lightbox Title for Portfolio Media Gallery

// Enable Lightbox Title for Portfolio Media Gallery
// Uses image alt attribute for the title
add_filter( 'wpex_portfolio_gallery_lightbox_title', '__return_true' );
All PHP snippets should be added via child theme's functions.php file or via a plugin.
We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top