maxgalleria_after_add_image_to_gallery

Description

This action runs right after an individual image is added to a gallery.

Usage

add_action('maxgalleria_after_add_image_to_gallery', 'after_add_image_to_gallery', 10, 6);

Parameters

$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.

Example

add_action('maxgalleria_after_add_image_to_gallery', 'after_add_image_to_gallery', 10, 6);

function after_add_image_to_gallery($gallery_id, $url, $title, $caption, $description, $alt) {
}

Source Files

Defined in maxgalleria-hooks.php.

Used in maxgalleria-image-gallery.php.