mejs_settings
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-includes/script-loader.php 1168
apply_filters( 'mejs_settings', $mejs_settings )