maxgalleria_youtube_regex_patterns

Description

This filter returns an array of regex patterns that should match YouTube video URLs.

Usage

add_filter('maxgalleria_youtube_regex_patterns', 'youtube_regex_patterns', 10, 1);

Parameters

$regex_patterns
The array of regex patterns.

Example

add_filter('maxgalleria_youtube_regex_patterns', 'youtube_regex_patterns', 10, 1);

function youtube_regex_patterns($regex_patterns) {
}

Source Files

Defined in maxgalleria-hooks.php.

Used in youtube.php.