WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )apply_filters( "hook_name", "what_to_filter" ).Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
| Line | Code | 
|---|---|
| 1193 |      ); | 
| 1194 |      did_action( 'init' ) && $scripts->localize( 'mediaelement', '_wpmejsSettings', | 
| 1195 |           /** | 
| 1196 |            * Filters the MediaElement configuration settings. | 
| 1197 |            * | 
| 1198 |            * @since 4.4.0 | 
| 1199 |            * | 
| 1200 |            * @param array $mejs_settings MediaElement settings array. | 
| 1201 |            */ | 
| 1202 |           apply_filters( 'mejs_settings', $mejs_settings ) | 
| 1203 |      ); | 
| 1204 |  | 
| 1205 |      $scripts->add( 'wp-codemirror', '/wp-includes/js/codemirror/codemirror.min.js', array(), '5.29.1-alpha-ee20357' ); | 
| 1206 |      $scripts->add( 'csslint', '/wp-includes/js/codemirror/csslint.js', array(), '1.0.5' ); | 
| 1207 |      $scripts->add( 'jshint', '/wp-includes/js/codemirror/jshint.js', array(), '2.9.5.999' ); | 
| 1208 |      $scripts->add( 'jsonlint', '/wp-includes/js/codemirror/jsonlint.js', array(), '1.6.2' ); | 
| 1209 |      $scripts->add( 'htmlhint', '/wp-includes/js/codemirror/htmlhint.js', array(), '0.9.14-xwp' ); | 
| 1210 |      $scripts->add( 'htmlhint-kses', '/wp-includes/js/codemirror/htmlhint-kses.js', array( 'htmlhint' ) ); | 
| 1211 |      $scripts->add( 'code-editor', "/wp-admin/js/code-editor$suffix.js", array( 'jquery', 'wp-codemirror', 'underscore' ) ); |