mejs_settings filter-hookWP 4.4.0

Filters the MediaElement configuration settings.

Usage

add_filter( 'mejs_settings', 'wp_kama_mejs_settings_filter' );

/**
 * Function for `mejs_settings` filter-hook.
 * 
 * @param array $mejs_settings MediaElement settings array.
 *
 * @return array
 */
function wp_kama_mejs_settings_filter( $mejs_settings ){

	// filter...
	return $mejs_settings;
}
$mejs_settings(array)
MediaElement settings array.

Changelog

Since 4.4.0 Introduced.

Where the hook is called

wp_default_scripts()
mejs_settings
wp-includes/script-loader.php 1168
apply_filters( 'mejs_settings', $mejs_settings )

Where the hook is used in WordPress

Usage not found.