maxgalleria_before_reorder_images_in_gallery

Description

This action runs right before gallery images are reordered.

Usage

add_action('maxgalleria_before_reorder_images_in_gallery', 'before_reorder_images_in_gallery', 10, 2);

Parameters

$image_post_orders
The current menu orders of the images being reordered.

$image_post_ids
The IDs of the image post objects.

Example

add_action('maxgalleria_before_reorder_images_in_gallery', 'before_reorder_images_in_gallery', 10, 2);

function before_reorder_images_in_gallery($image_post_orders, $image_post_ids) {
}

Source Files

Defined in maxgalleria-hooks.php.

Used in maxgalleria-image-gallery.php.