maxgalleria_instagram_before_add_images_to_gallery

Description

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

Usage

add_action('maxgalleria_instagram_before_add_images_to_gallery', 'instagram_before_add_images_to_gallery', 10, 2);

Parameters

$gallery_id
The gallery ID.

$media_ids
The media IDs of the Instagram images.

Example

add_action('maxgalleria_instagram_before_add_images_to_gallery', 'instagram_before_add_images_to_gallery', 10, 2);

function instagram_before_add_images_to_gallery($gallery_id, $media_ids) {
}

Source Files

Defined in maxgalleria-instagram-hooks.php.

Used in maxgalleria-instagram.php.