Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: core_files_loaded

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
114
115 if (!strstr($_SERVER['PHP_SELF'], 'install.php') && !strstr($_SERVER['PHP_SELF'], 'wp-admin/import')) :
116     // Used to guarantee unique hash cookies
117     $cookiehash = md5(get_settings('siteurl')); // Remove in 1.4
118      define('COOKIEHASH', $cookiehash); 
119 endif;
120
121 require (ABSPATH . WPINC . '/vars.php');
122
123 do_action('core_files_loaded');
124
125 // Check for hacks file if the option is enabled
126 if (get_settings('hack_file')) {
127      if (file_exists(ABSPATH . '/my-hacks.php'))
128           require(ABSPATH . '/my-hacks.php');
129 }
130
131 if ( get_settings('active_plugins') ) {
132      $current_plugins = get_settings('active_plugins');