Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: mejs_settings

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
379      );
380      did_action( 'init' ) && $scripts->localize( 'mediaelement', '_wpmejsSettings',
381           /**
382            * Filters the MediaElement configuration settings.
383            *
384            * @since 4.4.0
385            *
386            * @param array $mejs_settings MediaElement settings array.
387            */
388           apply_filters( 'mejs_settings', $mejs_settings )
389      );
390
391      $scripts->add( 'froogaloop',  "/wp-includes/js/mediaelement/froogaloop.min.js", array(), '2.0' );
392      $scripts->add( 'wp-playlist', "/wp-includes/js/mediaelement/wp-playlist$suffix.js", array( 'wp-util', 'backbone', 'mediaelement' ), false, 1 );
393
394      $scripts->add( 'zxcvbn-async', "/wp-includes/js/zxcvbn-async$suffix.js", array(), '1.0' );
395      did_action( 'init' ) && $scripts->localize( 'zxcvbn-async', '_zxcvbnSettings', array(
396           'src' => empty( $guessed_url ) ? includes_url( '/js/zxcvbn.min.js' ) : $scripts->base_url . '/wp-includes/js/zxcvbn.min.js',
397      ) );