Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: timezone_support

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

This hook occurs 2 times in this file.

Line Code
3170  * Check for PHP timezone support
3171  *
3172  */
3173 function wp_timezone_supported() {
3174      if (function_exists('date_default_timezone_set')
3175           && function_exists('timezone_identifiers_list')
3176           && function_exists('timezone_open')
3177           && function_exists('timezone_offset_get')
3178           )
3179           return apply_filters('timezone_support',true);
3180
3181      return apply_filters('timezone_support',false);
3182 }
3183
3184 /**
3185  * Gives a nicely formatted list of timezone strings // temporary! Not in final
3186  *
3187  * @param string $selectedzone - which zone should be the selected one
3188  *
3189  */
3190 function wp_timezone_choice($selectedzone) {