maxgalleria_before_add_images_to_gallery

Description

This action runs right before images are added to a gallery.

Usage

add_action('maxgalleria_before_add_images_to_gallery', 'before_add_images_to_gallery', 10, 2);

Parameters

$gallery_id
The gallery ID.

$urls
The URLs of the images.

Example

add_action('maxgalleria_before_add_images_to_gallery', 'before_add_images_to_gallery', 10, 2);

function before_add_images_to_gallery($gallery_id, $urls) {
}

Source Files

Defined in maxgalleria-hooks.php.

Used in maxgalleria-image-gallery.php.