DescriptionDescription
This event is triggered before the lightbox closes.
ArgumentsArguments
Argument | Type | Description |
item | node | Node opened in the lightbox |
ExampleExample
JS
Grid settings – JS field
wpgb.lightbox.on( 'close', function( item ) {
console.log( 'close', item );
} );