to change the content in the open lightbox, you can use the additional function
callback_ajax This event makes an Ajax request, to register the request, in the function.php file use the function: gol_set_callback ( ‘event_name’, ‘your_function’ ); callback_ajax_params this event serves to transfer parameters to the php function. before_open…
opens HTML elements in a lightbox, making them invisible beforehand, it is also possible to embed dynamic content into HTML
to open a video in a lightbox after clicking a button or link, you need to add a class to the button that will be used as a trigger in the JavaScript code, in the options add a link to the video
to open the gallery in a lightbox after clicking a button or link, you need to add a class to the button that will be used as a trigger in the JavaScript code, in the options add an object with links to images
to open an image in a lightbox after clicking a button or a link, you need to add a class to the button, which will be used as a trigger in the JavaScript code