maxgalleria_instagram_after_add_image_to_gallery

Description

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

Usage

add_action('maxgalleria_instagram_after_add_image_to_gallery', 'instagram_after_add_image_to_gallery', 10, 4);

Parameters

$gallery_id
The gallery ID.

$media_id
The media ID of the Instagram image.

$url
The URL of the Instagram image.

$caption
The caption of the Instagram image.

Example

add_action('maxgalleria_instagram_after_add_image_to_gallery', 'instagram_after_add_image_to_gallery', 10, 4);

function instagram_after_add_image_to_gallery($gallery_id, $media_id, $url, $caption) {
}

Source Files

Defined in maxgalleria-instagram-hooks.php.

Used in maxgalleria-instagram.php.