maxgalleria_facebook_before_add_images_to_gallery

Description

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

Usage

add_action('maxgalleria_facebook_before_add_images_to_gallery', 'facebook_before_add_images_to_gallery', 10, 2);

Parameters

$gallery_id
The gallery ID.

$media_ids
The media IDs of the Facebook images.

Example

add_action('maxgalleria_facebook_before_add_images_to_gallery', 'facebook_before_add_images_to_gallery', 10, 2);

function facebook_before_add_images_to_gallery($gallery_id, $media_ids) {
}

Source Files

Defined in maxgalleria-facebook-hooks.php.

Used in maxgalleria-facebook.php.