maxgalleria_before_reorder_videos_in_gallery

Description

This action runs right before gallery videos are reordered.

Usage

add_action('maxgalleria_before_reorder_videos_in_gallery', 'before_reorder_videos_in_gallery', 10, 2);

Parameters

$video_post_orders
The current menu orders of the videos being reordered.

$video_post_ids
The IDs of the video post objects.

Example

add_action('maxgalleria_before_reorder_videos_in_gallery', 'before_reorder_videos_in_gallery', 10, 2);

function before_reorder_videos_in_gallery($video_post_orders, $video_post_ids) {
}

Source Files

Defined in maxgalleria-hooks.php.

Used in maxgalleria-video-gallery.php.