Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wp_head

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
1350           if ( preg_match($pattern, $url) ) return false;
1351           if ( preg_match($pattern, $comment) ) return false;
1352           if ( preg_match($pattern, $user_ip) ) return false;
1353      }
1354
1355      return true;
1356 }
1357
1358 function wp_head() {
1359      do_action('wp_head', '');
1360 }
1361
1362 ?>