This action runs right before an individual image is added to a gallery.
add_action('maxgalleria_before_add_image_to_gallery', 'before_add_image_to_gallery', 10, 6); $gallery_id
The gallery ID.
$url
The image URL.
$title
The image title.
$caption
The image caption.
$description
The image description.
$alt
The image alt text.
add_action('maxgalleria_before_add_image_to_gallery', 'before_add_image_to_gallery', 10, 6);
function before_add_image_to_gallery($gallery_id, $url, $title, $caption, $description, $alt) {
}
Defined in maxgalleria-hooks.php.
Used in maxgalleria-image-gallery.php.