maxgalleria_albums_before_add_gallery_to_album

Description

This action runs right before a gallery is added to an album.

Usage

add_action('maxgalleria_albums_before_add_gallery_to_album', 'before_add_gallery_to_album', 10, 1);

Parameters

$gallery_id
The ID of the gallery being added to the album.

Example

add_action('maxgalleria_albums_before_add_gallery_to_album', 'before_add_gallery_to_album', 10, 1);

function before_add_gallery_to_album($gallery_id) {
}

Source Files

Defined in maxgalleria-albums-hooks.php.

Used in maxgalleria-albums.php.