maxgalleria_video_attachment_post_meta

Description

This action saves post meta for an attachment when a video is added to a gallery.

Usage

add_action('maxgalleria_video_attachment_post_meta', 'video_attachment_post_meta', 10, 4);

Parameters

$attachment_id
The attachment ID.

$video_url
The video URL.

$thumb_url
The video thumbnail URL.

$data
The video data.

Example

add_action('maxgalleria_video_attachment_post_meta', 'video_attachment_post_meta', 10, 4);

function video_attachment_post_meta($attachment_id, $video_url, $thumb_url, $data) {
}

Source Files

Defined in maxgalleria-hooks.php.

Used in video-add.php.