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 |
|---|---|
| 145 | // Define must-use plugin directory constants, which may be overridden in the sunrise.php drop-in. |
| 146 | wp_plugin_directory_constants( ); |
| 147 | |
| 148 | // Load must-use plugins. |
| 149 | foreach ( wp_get_mu_plugins() as $mu_plugin ) { |
| 150 | include_once( $mu_plugin ); |
| 151 | } |
| 152 | unset( $mu_plugin ); |
| 153 | |
| 154 | do_action( 'muplugins_loaded' ); |
| 155 | |
| 156 | if ( is_multisite() ) |
| 157 | ms_cookie_constants( ); |
| 158 | |
| 159 | // Define constants after multisite is loaded. Cookie-related constants may be overridden in ms_network_cookies(). |
| 160 | wp_cookie_constants( ); |
| 161 | |
| 162 | // Define and enforce our SSL constants |
| 163 | wp_ssl_constants( ); |