maxgalleria_albums_before_reorder_galleries_in_album

Description

This action runs right before galleries are reordered in an album.

Usage

add_action('maxgalleria_albums_before_reorder_galleries_in_album', 'before_reorder_galleries_in_album', 10, 2);

Parameters

$gallery_orders
The current menu orders of the galleries being reordered in the album.

$gallery_ids
The IDs of the galleries being reordered in the album.

Example

add_action('maxgalleria_albums_before_reorder_galleries_in_album', 'before_reorder_galleries_in_album', 10, 2);

function before_reorder_galleries_in_album($gallery_orders, $gallery_ids) {
}

Source Files

Defined in maxgalleria-albums-hooks.php.

Used in maxgalleria-albums.php.