Search result for 'wordpress php autologin code'
(0.0626888275146 seconds)
17 pages : 1 2 3 4 5 6 7 8 9 10 11 Next › Last»

oriontimbers/WordPress AutoLogin ( PHP)

function auto_login($userID) {
    if (!is_user_logged_in()) {
        
        $user = get_userdata($userID);
        $user_id = $user->ID;
        $user_login = $user->user_login;
        
        //login
        wp_set_current_user($user_id, $user_login);
        wp_set_auth_cookie($user_id);
        do_action('wp_login', $user_login);
    }
} 
add_action('user_register', 'auto_login');

Code snippet that allows the user to be automatically logged in on account creation, this works with s2Member since they allow the user to create their own password.

adambundy/Wordpress Image Gallery Short Code Using Post Attachments ( PHP)

function pippin_gallery_shortcode( $atts, $content = null ) {
 
	extract( shortcode_atts( array(
      'size' => ''
      ), $atts ) );
 
	$image_size = 'medium';
	if($size =! '') { $image_size = $size; }
 
	$images = get_children(array(
		'post_parent' => get_the_ID(),
		'post_type' => 'attachment',
		'numberposts' => -1,
		'orderly' => 'menu_order',
		//'exclude' => get_post_thumbnail_id(), -- uncomment to exclude post thumbnail
		'post_mime_type' => 'image',
		)
	);
 
	if($images) {
		$gallery = '<ul class="gallery clearfix">';
		foreach( $images as $image ) {
			$gallery .= '<li>';
				$gallery .= '<a href="' . wp_get_attachment_url($image->ID) . '" rel="shadowbox">';
					$gallery .= wp_get_attachment_image($image->ID, $image_size);
				$gallery .= '</a>';
			$gallery .= '</li>';
		}
		$gallery .= '</ul>';
 
		return $gallery;
	}
 
}
add_shortcode('photo_gallery', 'pippin_gallery_shortcode');

**courtesy Pippin Williamson (http://pippinsplugins.com/image-gallery-short-code-using-post-attachments/)

use shortcode [photo_gallery] to display the gallery

wnasich/Debuging Wordpress code in production stage ( PHP)

if($_SERVER['REMOTE_ADDR'] == 'your.ip.address.here') define('WP_DEBUG', true); else define('WP_DEBUG', false);

jakepaint/Wordpress post expiration code ( PHP)

***PUT THIS INSIDE THE LOOP, FIRST THING***
<?php  //to check against expiration date;


$currentdate = date("Ymd");
$expirationdate = get_post_custom_values('expiration');
if (is_null($expirationdate)) {
	$expirestring = '30005050'; //MAKE UN-EXPIRING POSTS ALWAYS SHOW UP;
} else {
	
if (is_array($expirationdate)) {
	$expirestringarray = implode($expirationdate);
	}
$expirestring = str_replace("/","",$expirestringarray);
} //else
 if ( $expirestring > $currentdate ) { ?>


***THEN PUT THE FOLLOWING LINE AT THE VERY END OF THE LOOP***

<?php } //end if for expiration; ?>

This code makes "expired" posts cease to show up in the normal page, but they should still show up in the archives. When writing the post, enter a custom field with the key "expiration" and set the value in the format "2007/01/01" The below code will go on the index page in the theme folder. Careful to replace the correct stuff!

yuconner/Example code wordpress widget ( PHP)

function widget_myuniquewidget($args) {

    extract($args);
?>
        <?php echo $before_widget; ?>
            <?php echo $before_title
                . 'My Unique Widget'
                . $after_title; ?>
            Hello, World!
        <?php echo $after_widget; ?>
<?php

}

register_sidebar_widget( 'My Unique Widget', 'widget_myuniquewidget' );

put "registersidebarwidget(..)" into "function widgets_init()"

webtechdev/wordpress default menu code ( PHP)

<style type="text/css">

/* =Menu
---------------------- ---------------------------------------- */
#access { 
	background: #000;
	display: block;
	float: left;
	margin: 0 auto;
	width: 940px;
}
#access .menu-header,
div.menu {
	font-size: 13px;
	margin-left: 12px;
	width: 928px;
}
#access .menu-header ul,
div.menu ul {
	list-style: none;
	margin: 0;
}
#access .menu-header li,
div.menu li {
	float: left;
	position: relative;
}
#access a {
	color: #aaa;
	display: block;
	line-height: 38px;
	padding: 0 10px;
	text-decoration: none;
}
#access ul ul {
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	display: none;
	position: absolute;
	top: 38px;
	left: 0;
	float: left;
	width: 180px;
	z-index: 99999;
}
#access ul ul li {
	min-width: 180px;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #333;
	line-height: 1em;
	padding: 10px;
	width: 160px;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: #333;
	color: #fff;
}
#access ul li:hover > ul {
	display: block;
}
#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
	color: #fff;
}
* html #access ul li.current_page_item a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a,
* html #access ul li a:hover {
	color: #fff;
}
</style>
<div id="access" role="navigation">
  <div class="menu">
    <ul>
      <li class="current_page_item"><a href="#" title="Home">Home</a></li>
      <li class="page_item page-item-2489"><a href="#">Contribute</a>
      <ul class='children'>
          <li class="page_item page-item-17"><a href="#">History</a></li>
          <li class="page_item page-item-12"><a href="#">Our Company</a></li>
          <li class="page_item page-item-14"><a href="#">Our Staff</a>
            <ul class='children'>
              <li class="page_item page-item-29"><a href="#">Employment Opportunities</a></li>
            </ul>
          </li>
        </ul>
      </li>
      <li class="page_item page-item-46"><a href="#">About</a>
      <ul class='children'>
          <li class="page_item page-item-17"><a href="#">History</a></li>
          <li class="page_item page-item-12"><a href="#">Our Company</a></li>
          <li class="page_item page-item-14"><a href="#">Our Staff</a>
            <ul class='children'>
              <li class="page_item page-item-29"><a href="#">Employment Opportunities</a></li>
            </ul>
          </li>
        </ul>
      </li>
      <li class="page_item page-item-2485"><a href="">About Corky</a></li>
      <li class="page_item page-item-23"><a href="#">Contact Us</a>
        <ul class='children'>
          <li class="page_item page-item-27"><a href="#">Our Location</a></li>
        </ul>
      </li>
      <li class="page_item page-item-2493"><a href="#">Contact/links</a></li>
      <li class="page_item page-item-2491"><a href="#">Events/Press</a></li>
      <li class="page_item page-item-21"><a href="#">Links</a></li>
      <li class="page_item page-item-2487"><a href="#">My Platform</a></li>
      <li class="page_item page-item-25"><a href="#">News</a>
        <ul class='children'>
          <li class="page_item page-item-17"><a href="#">History</a></li>
          <li class="page_item page-item-12"><a href="#">Our Company</a></li>
          <li class="page_item page-item-14"><a href="#">Our Staff</a>
            <ul class='children'>
              <li class="page_item page-item-29"><a href="#">Employment Opportunities</a></li>
            </ul>
          </li>
        </ul>
      </li>
      <li class="page_item page-item-2527"><a href="#">photos</a></li>
      <li class="page_item page-item-19"><a href="#">Support</a></li>
    </ul>
  </div>
</div>
<!-- #access -->

default theme perfect menu

sdellow/Wordpress Code Snippets ( HTML)

<h2>Automatically Add Twitter and Facebook Buttons to Your Posts</h2><p>This snippet will add Twitter and Facebook buttons to the bottom of all your posts. All you have to do is paste the code below into your <code>functions.php</code> file:</p><pre class="brush: php; title: ;" title=""> 
function share_this($content){
    if(!is_feed() &amp;amp;&amp;amp; !is_home()) {
        $content .= '&amp;lt;div class=&amp;quot;share-this&amp;quot;&amp;gt;
                    &amp;lt;a href=&amp;quot;http://twitter.com/share&amp;quot;
class=&amp;quot;twitter-share-button&amp;quot;
data-count=&amp;quot;horizontal&amp;quot;&amp;gt;Tweet&amp;lt;/a&amp;gt;
                    &amp;lt;script type=&amp;quot;text/javascript&amp;quot;
src=&amp;quot;http://platform.twitter.com/widgets.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
                    &amp;lt;div class=&amp;quot;facebook-share-button&amp;quot;&amp;gt;
                        &amp;lt;iframe
src=&amp;quot;http://www.facebook.com/plugins/like.php?href='.
urlencode(get_permalink($post-&amp;gt;ID))
.'&amp;amp;amp;layout=button_count&amp;amp;amp;show_faces=false&amp;amp;amp;width=200&amp;amp;amp;action=like&amp;amp;amp;colorscheme=light&amp;amp;amp;height=21&amp;quot;
scrolling=&amp;quot;no&amp;quot; frameborder=&amp;quot;0&amp;quot; style=&amp;quot;border:none;
overflow:hidden; width:200px; height:21px;&amp;quot;
allowTransparency=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/iframe&amp;gt;
                    &amp;lt;/div&amp;gt;
                &amp;lt;/div&amp;gt;';
    }
    return $content;
}
add_action('the_content', 'share_this');
</pre><p><a href="http://www.wprecipes.com/automatically-add-twitter-and-facebook-buttons-to-your-posts" class="button-med">Source &amp;rarr;</a></p><h2>Track Post View Amount by Using Post Meta</h2><p>For a simple way to keep track of the number of post views, paste this snippet into the <code>functions.php</code>, and then follow steps 1 and 2.</p><pre class="brush: php; title: ;" title=""> 
function getPostViews($postID){
    $count_key = 'post_views_count';
    $count = get_post_meta($postID, $count_key, true);
    if($count==''){
        delete_post_meta($postID, $count_key);
        add_post_meta($postID, $count_key, '0');
        return &amp;quot;0 View&amp;quot;;
    }
    return $count.' Views';
}
function setPostViews($postID) {
    $count_key = 'post_views_count';
    $count = get_post_meta($postID, $count_key, true);
    if($count==''){
        $count = 0;
        delete_post_meta($postID, $count_key);
        add_post_meta($postID, $count_key, '0');
    }else{
        $count++;
        update_post_meta($postID, $count_key, $count);
    }
}
</pre><p>Step 1: Paste the code below within the <code>single.php</code> within the loop:</p><pre class="brush: php; title: ;" title=""> 
&amp;lt;?php
          setPostViews(get_the_ID());
?&amp;gt;
</pre><p>Step 2: Paste the snippet below anywhere within the template where you would like to display the number of views:</p><pre class="brush: php; title: ;" title=""> 
&amp;lt;?php
          echo getPostViews(get_the_ID());
?&amp;gt;
</pre><p><a href="http://wpsnipp.com/index.php/functions-php/track-post-views-without-a-plugin-using-post-meta/" class="button-med">Source &amp;rarr;</a></p><h2>Track Post View Amount by Using Post Meta</h2><p>This snippet will create a list of your most popular posts based on page views. Please note that this will only work if you have already implemented the &amp;#8216;Track Post View Amount by Using Post Meta&amp;#8217; from above.<br /> Place this snippet just before the loop within the <code>index.php</code> template and WordPress will use the post views to order your posts from highest to lowest.</p><pre class="brush: php; title: ;" title=""> 
&amp;lt;?
query_posts('meta_key=post_views_count&amp;amp;orderby=post_views_count&amp;amp;order=DESC');
?&amp;gt;
</pre><p><a href="http://wpsnipp.com/index.php/loop/most-popular-posts-using-views-post-meta/" class="button-med">Source &amp;rarr;</a></p><h2>Breadcrumbs Without a Plugin</h2><p>Breadcrumbs can be a useful navigation technique that offers link to the previous page the user navigated through to arrive at the current post/page. There are plugins you could use, but the code snippet below could be an easier solution.</p><p>Paste this code into your <code>functions.php</code> file.</p><pre class="brush: php; title: ;" title=""> 
function the_breadcrumb() {
echo '&amp;lt;ul id=&amp;quot;crumbs&amp;quot;&amp;gt;';
if (!is_home()) {
echo '&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;';
echo get_option('home');
echo '&amp;quot;&amp;gt;';
echo 'Home';
echo &amp;quot;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;quot;;
if (is_category() || is_single()) {
echo '&amp;lt;li&amp;gt;';
the_category(' &amp;lt;/li&amp;gt;&amp;lt;li&amp;gt; ');
if (is_single()) {
echo &amp;quot;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;quot;;
the_title();
echo '&amp;lt;/li&amp;gt;';
}
} elseif (is_page()) {
echo '&amp;lt;li&amp;gt;';
echo the_title();
echo '&amp;lt;/li&amp;gt;';
}
}
elseif (is_tag()) {single_tag_title();}
elseif (is_day()) {echo&amp;quot;&amp;lt;li&amp;gt;Archive for &amp;quot;; the_time('F jS, Y'); echo'&amp;lt;/li&amp;gt;';}
elseif (is_month()) {echo&amp;quot;&amp;lt;li&amp;gt;Archive for &amp;quot;; the_time('F, Y'); echo'&amp;lt;/li&amp;gt;';}
elseif (is_year()) {echo&amp;quot;&amp;lt;li&amp;gt;Archive for &amp;quot;; the_time('Y'); echo'&amp;lt;/li&amp;gt;';}
elseif (is_author()) {echo&amp;quot;&amp;lt;li&amp;gt;Author Archive&amp;quot;; echo'&amp;lt;/li&amp;gt;';}
elseif (isset($_GET['paged']) &amp;amp;&amp;amp; !empty($_GET['paged'])) {echo &amp;quot;&amp;lt;li&amp;gt;Blog Archives&amp;quot;; echo'&amp;lt;/li&amp;gt;';}
elseif (is_search()) {echo&amp;quot;&amp;lt;li&amp;gt;Search Results&amp;quot;; echo'&amp;lt;/li&amp;gt;';}
echo '&amp;lt;/ul&amp;gt;';
}</pre><p>Then paste the calling code below, wherever you would like the breadcrumbs to appear (typically above the title tag).</p><pre class="brush: php; title: ;" title="">&amp;lt;?php the_breadcrumb(); ?&amp;gt;</pre><p><a href="http://wp-snippets.com/breadcrumbs-without-plugin/" class="button-med">Source &amp;rarr;</a></p><h2>Display the Number of Facebook Fans</h2><p>Facebook is a must site for sharing your blogs articles. Here is a method for showing your visitors the total number of Facebook &amp;#8216;Likes&amp;#8217; your blog currently has.</p><p>To use this code all you have to do is replace the <strong>YOUR PAGE-ID</strong> with your own Facebook page id.</p><pre class="brush: php; title: ;" title="">&amp;lt;?php
$page_id = &amp;quot;YOUR PAGE-ID&amp;quot;;
$xml = @simplexml_load_file(&amp;quot;http://api.facebook.com/restserver.php?method=facebook.fql.query&amp;amp;query=SELECT%20fan_count%20FROM%20page%20WHERE%20page_id=&amp;quot;.$page_id.&amp;quot;&amp;quot;) or die (&amp;quot;a lot&amp;quot;);
$fans = $xml-&amp;gt;page-&amp;gt;fan_count;
echo $fans;
?&amp;gt;</pre><p><a href="http://wp-snippets.com/display-number-facebook-fans/" class="button-med">Source &amp;rarr;</a></p><h2>Display an External RSS Feed</h2><p>This snippet will fetch the latest entries of any specified feed url.</p><pre class="brush: php; title: ;" title="">&amp;lt;?php include_once(ABSPATH.WPINC.'/rss.php');
wp_rss('http://wpforums.com/external.php?type=RSS2', 5); ?&amp;gt;</pre><p>This code takes the rss.php file that is built into WordPress (used for widgets). It is set to display the most recent 5 posts from the RSS feed &amp;#8216;http://example.com/external.php?type=RSS2&amp;#8242;.</p><p><a href="http://wphacks.com/how-to-adding-an-external-rss-feed-to-your-wordpress-blog/" class="button-med">Source &amp;rarr;</a></p><h2>WP Shortcode to Display External Files</h2><p>If you are looking for a quick way to automatically include external page content within your post, this snippet will create a shortcode allowing you to do it.</p><p>Paste this code into your themes <code>functions.php</code> file:</p><pre class="brush: php; title: ;" title=""> 
function show_file_func( $atts ) {
  extract( shortcode_atts( array(
    'file' =&amp;gt; ''
  ), $atts ) );
 
  if ($file!='')
    return @file_get_contents($file);
}
 
add_shortcode( 'show_file', 'show_file_func' );
</pre><p>And then post this shortcode, editing the URL, into your post or page.</p><pre class="brush: php; title: ;" title=""> 
[show_file file=&amp;quot;http://speckyboy.com/2010/12/09/20-plugin-replacing-tutorials-tips-snippets-and-solutions-for-wordpress/&amp;quot;]
</pre><p><a href="http://www.prelovac.com/vladimir/wordpress-shortcode-snippet-to-display-external-files" class="button-med">Source &amp;rarr;</a></p><h2>Create Custom Widgets</h2><p><img src="http://speckyboy.com/wp-content/uploads/2011/03/wp_snippet_06.jpg" alt="Create Custom Widgets"><br /> Wordpress provides many widgets, but if you want to create custom widgets tailored to your blog, then this snippet may help you.</p><p>Paste the code below into your <code>functions.php</code> file.</p><pre class="brush: php; title: ;" title="">    class My_Widget extends WP_Widget {
        function My_Widget() {
            parent::WP_Widget(false, 'Our Test Widget');
        }
    function form($instance) {
            // outputs the options form on admin
        }
    function update($new_instance, $old_instance) {
            // processes widget options to be saved
            return $new_instance;
        }
    function widget($args, $instance) {
            // outputs the content of the widget
        }
    }
    register_widget('My_Widget');
	</pre><p><a href="http://www.darrenhoyt.com/2009/12/22/creating-custom-wordpress-widgets/" class="button-med">Source &amp;rarr;</a></p><h2>Create Custom Shortcodes</h2><p>Shortcodes are a handy way of using code functions within your theme. The advantage of shortcodes is that they can be easily used with the WordPress  post editor.</p><p>Add this code to your <code>functions.php</code>:</p><pre class="brush: php; title: ;" title="">function helloworld() {
return 'Hello World!';
}
add_shortcode('hello', 'helloworld');</pre><p>You can then use [hello] wherever you want to display the content of the shortcode.</p><p><a href="http://wp-snippets.com/add-shortcodes/" class="button-med">Source &amp;rarr;</a></p><h2>Custom Title Length</h2><p>This snippet will allow you to customise the length (by the number of characters) of your post title.</p><p>Paste this code into the <code>functions.php</code>:</p><pre class="brush: php; title: ;" title=""> 
function ODD_title($char)
    {
    $title = get_the_title($post-&amp;gt;ID);
    $title = substr($title,0,$char);
    echo $title;
    }</pre><p>To use this function all you have to do is paste the below code into your theme files, remembering to change the &amp;#8217;20&amp;#8242; to what ever character amount you require:</p><pre class="brush: php; title: ;" title=""> 
&amp;lt;?php ODD_title(20); ?&amp;gt;
</pre><p><a href="http://www.orangedevdesign.nl/nieuws/wordpress-title-custom-length/" class="button-med">Source &amp;rarr;</a></p><h2>Custom Excerpts</h2><p>Sometimes you may need to limit how many words are in the excerpt, with this snippet you can create your own custom excerpt (my_excerpts) replacing the original.</p><p>Paste this code in <code>functions.php</code>.</p><pre class="brush: php; title: ;" title=""> 
&amp;lt;?php add_filter('the_excerpt', 'my_excerpts');
function my_excerpts($content = false) {
            global $post;
            $mycontent = $post-&amp;gt;post_excerpt;
 
            $mycontent = $post-&amp;gt;post_content;
            $mycontent = strip_shortcodes($mycontent);
            $mycontent = str_replace(']]&amp;gt;', ']]&amp;amp;gt;', $mycontent);
            $mycontent = strip_tags($mycontent);
            $excerpt_length = 55;
            $words = explode(' ', $mycontent, $excerpt_length + 1);
            if(count($words) &amp;gt; $excerpt_length) :
                array_pop($words);
                array_push($words, '...');
                $mycontent = implode(' ', $words);
            endif;
            $mycontent = '&amp;lt;p&amp;gt;' . $mycontent . '&amp;lt;/p&amp;gt;';
// Make sure to return the content
    return $mycontent;
}
?&amp;gt;</pre><p>Secondly, paste this code within the Loop:</p><pre class="brush: php; title: ;" title=""> 
&amp;lt;?php echo my_excerpts(); ?&amp;gt;
</pre><p><a href="http://wptricks.net/create-you-own-excerpt-in-wordpress/" class="button-med">Source &amp;rarr;</a></p><h2>Redirect Your Post Titles To External Links</h2><p><img src="http://speckyboy.specky.netdna-cdn.com/wp-content/uploads/2011/03/wp_snippet_01.jpg" alt="Redirect Your Post Titles To External Links"><br /> This snippet could be useful for anyone with a news submission site, by redirecting your post title to an external URL when clicked via a custom field.</p><p>Paste this snippet into your <code>functions.php</code> file:</p><pre class="brush: php; title: ;" title="">//Custom Redirection
function print_post_title() {
global $post;
$thePostID = $post-&amp;gt;ID;
$post_id = get_post($thePostID);
$title = $post_id-&amp;gt;post_title;
$perm  = get_permalink($post_id);
$post_keys = array(); $post_val  = array();
$post_keys = get_post_custom_keys($thePostID);
if (!empty($post_keys)) {
foreach ($post_keys as $pkey) {
if ($pkey=='url') {
$post_val = get_post_custom_values($pkey);
}
}
if (empty($post_val)) {
$link = $perm;
} else {
$link = $post_val[0];
}
} else {
$link = $perm;
}
echo '&amp;lt;h2&amp;gt;&amp;lt;a href=&amp;quot;'.$link.'&amp;quot; rel=&amp;quot;bookmark&amp;quot; title=&amp;quot;'.$title.'&amp;quot;&amp;gt;'.$title.'&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;';
}</pre><p>Then you add a custom field named &amp;#8216;url&amp;#8217; and in the value field put the link to which the title is to be redirected to.</p><p><a href="http://www.wprecipes.com/how-to-link-to-some-external-ressource-in-post-title" class="button-med">Source &amp;rarr;</a></p><h2>Redirect to Single Post If There is One Post in Category/Tag</h2><p>If there is only one post within a category or tag, this little snippet will jump the reader directly to the post page.</p><p>Paste this code into your themes <code>functions.php</code> file:</p><pre class="brush: php; title: ;" title=""> 
function stf_redirect_to_post(){
    global $wp_query;
 
    // If there is one post on archive page
    if( is_archive() &amp;amp;&amp;amp; $wp_query-&amp;gt;post_count == 1 ){
        // Setup post data
        the_post();
        // Get permalink
        $post_url = get_permalink();
        // Redirect to post page
        wp_redirect( $post_url );
    }  
 
} add_action('template_redirect', 'stf_redirect_to_post');
</pre><p><a href="http://shailan.com/how-to-redirect-to-single-post-page-if-there-is-one-post-in-categorytag/" class="button-med">Source &amp;rarr;</a></p><h2>List Scheduled/Future Posts</h2><p>Paste the code anywhere on your template where you want your scheduled posts to be listed, changing the max number or displayed posts by changing the value of showposts in the query.</p><pre class="brush: php; title: ;" title=""> 
&amp;lt;?php
$my_query = new WP_Query('post_status=future&amp;amp;order=DESC&amp;amp;showposts=5');
if ($my_query-&amp;gt;have_posts()) {
    while ($my_query-&amp;gt;have_posts()) : $my_query-&amp;gt;the_post();
        $do_not_duplicate = $post-&amp;gt;ID; ?&amp;gt;
        &amp;lt;li&amp;gt;&amp;lt;?php the_title(); ?&amp;gt;&amp;lt;/li&amp;gt;
    &amp;lt;?php endwhile;
}
?&amp;gt;
</pre><p><a href="http://www.wprecipes.com/how-to-list-scheduled-posts" class="button-med">Source &amp;rarr;</a></p><h2>Screenshots of External Pages Without a Plugin</h2><p>This is a very simple URL script that will generate a screenshot of any website. Here is the URL:</p><pre class="brush: xml; title: ;" title="">http://s.wordpress.com/mshots/v1/http%3A%2F%2Fspeckyboy.com%2F?w=500</pre><p>To see what the link above does, <a href="http://s.wordpress.com/mshots/v1/http%3A%2F%2Fspeckyboy.com%2F?w=500" target="_blank">click here</a>.</p><p>All you have to do is insert your required URL in the place of the &amp;#8216;speckyboy.com&amp;#8217; part of the link and resize (&amp;#8216;w=500&amp;#8242;) as required.</p><h2>Add Content to the End of Each RSS Post</h2><p>Adding some extra content that is only viewable by your RSS subscribers couldn&amp;#8217;t be easier with this snippet.<br /> Paste this code into the functions.php:</p><pre class="brush: php; title: ;" title=""> 
function feedFilter($query) {
    if ($query-&amp;gt;is_feed) {
        add_filter('the_content','feedContentFilter');
    }
    return $query;
}
add_filter('pre_get_posts','feedFilter');
 
function feedContentFilter($content) {
    $content .= '&amp;lt;p&amp;gt;Extra RSS content goes here... &amp;lt;/p&amp;gt;';
 
    return $content;
}
</pre><p><a href="http://wptricks.net/how-to-add-content-to-the-end-of-each-rss-post/" class="button-med">Source &amp;rarr;</a></p><h2>Reset Your WordPress Password</h2><p><img src="http://speckyboy.specky.netdna-cdn.com/wp-content/uploads/2011/03/wp_snippet_02.jpg" alt="Redirect Your Post Titles To External Links"></p><p>What would you do if you forget your WordPress Admin Password and you no longer have access to the admin area? To fix this all you have to do is jump to your PhpMyAdmin Sql-window and run the following command.</p><pre class="brush: sql; title: ;" title="">UPDATE `wp_users` SET `user_pass` = MD5('NEW_PASSWORD') WHERE `wp_users`.`user_login` =`YOUR_USER_NAME` LIMIT 1;</pre><p><a href="http://wp-snippets.com/reset-your-password/" class="button-med">Source &amp;rarr;</a></p><h2>Detect Which Browser Your Visitors are Using</h2><p>If you want to use different stylesheets for different browsers, then this is a snippet you could use. It detects the browser your visitors are using and creates a different class for each browser. You can use that class to create custom stylesheets.</p><pre class="brush: php; title: ;" title="">add_filter('body_class','browser_body_class');
function browser_body_class($classes) {
global $is_lynx, $is_gecko, $is_IE, $is_opera, $is_NS4, $is_safari, $is_chrome, $is_iphone;
if($is_lynx) $classes[] = 'lynx';
elseif($is_gecko) $classes[] = 'gecko';
elseif($is_opera) $classes[] = 'opera';
elseif($is_NS4) $classes[] = 'ns4';
elseif($is_safari) $classes[] = 'safari';
elseif($is_chrome) $classes[] = 'chrome';
elseif($is_IE) $classes[] = 'ie';
else $classes[] = 'unknown';
if($is_iphone) $classes[] = 'iphone';
return $classes;
}</pre><p><a href="http://www.nathanrice.net/blog/browser-detection-and-the-body_class-function/" class="button-med">Source &amp;rarr;</a></p><h2>Display Search Terms from Google Users</h2><p>If a visitor reached your site through Google&amp;#8217;s search, this script will display the terms they searched for in order to find your site. Just paste it anywhere outside of the header section.</p><pre class="brush: php; title: ;" title=""> 
&amp;lt;?php
$refer = $_SERVER[&amp;quot;HTTP_REFERER&amp;quot;];
if (strpos($refer, &amp;quot;google&amp;quot;)) {
        $refer_string = parse_url($refer, PHP_URL_QUERY);
        parse_str($refer_string, $vars);
        $search_terms = $vars['q'];
        echo 'Welcome Google visitor! You searched for the following terms to get here: ';
        echo $search_terms;
};
?&amp;gt;
</pre><p><a href="http://wp-snippets.com/display-search-terms-from-google-users/" class="button-med">Source &amp;rarr;</a></p><h2>Show Different Content for Mac &amp;amp; Windows</h2><p>If you ever have the need to display different content to either Mac or Windows users (ie. software download link for different platforms), you can paste the following code into your themes <code>functions.php</code> file. You can easily change the content of the function to your own needs.</p><pre class="brush: php; title: ;" title="">&amp;lt;?php
if (stristr($_SERVER['HTTP_USER_AGENT'],&amp;quot;mac&amp;quot;)) {
echo ‘Hello, I\’m a Mac.’;
} else {
echo ‘And I\’m a PC.’;
}
?&amp;gt;</pre>

Snippets for Wordpress functions

mindshare/WordPress API Code Hints (Auto Completion) for Adobe Dreamweaver ( XML)

<!--
	---------------------------------------------------------------
	WordPress Code Hinting for Dreamweaver
	
	Version: 0.2.5
	$Revision$
	$Date$
	$Id$
	Copyright: Mindshare Studios, Inc.
	
	Contributors:
		Damian Taggart
		Bryce Corkins
		http://mind.sh/are/
	
	Project Home: http://code.google.com/p/wordpress-codehints/
	Donate: http://mind.sh/are/donate/
	$HeadURL$
	Support/bugs: http://code.google.com/p/wordpress-codehints/issues/list

	---------------------------------------------------------------
	Changelog:
		0.2.4 - bugfixes, added query_posts
		0.2.4 - bugfix for WP menus
		0.2.3 - another bloginfo bugfix
		0.2.2 - bloginfo bugfix, combined all "wp..." menus into one
		0.2.1 - bugfix added missing DOCTYPE attributes to menu tags
		0.2 ~ first release includes API up to WordPress API 3.3.1, ready for external testing, first commit
		0.1 ~ first release includes API up to WordPress API 3.3
	
	Usage:
		This file provides code hinting (auto-completion) for the
		WordPress API in Dreamweaver's code view.
		
		- Step 1 -
		Copy this XML file into your Dreamweaver configuration
		folder into the appropriate location for your OS, replacing
		<USERNAME> with your own username, <VERSION> with your
		Dreamweaver version (e.g. 'CS5'), and <LANGUAGE> with your
		language code (e.g. 'en_US'): NOTE: On Windows you may need
		to enable viewing of hidden folders to find the Dreamweaver
		config folder.
		
		Windows XP:
		C:\Documents and Settings\<USERNAME>\Application Data\Adobe\Dreamweaver <VERSION>\Configuration\CodeHints
		
		Windows	Vista/7:
		C:\Users\<USERNAME>\AppData\Roaming\Adobe\Dreamweaver <VERSION>\<LANGUAGE>\Configuration\CodeHints
		
		Macintosh:
		<DRIVE>/Users/<USERNAME>/Library/Application Support/Adobe/Dreamweaver <VERSION>/Configuration/CodeHints
		
		- Step 2 - 
		Start Dreamweaver > go to Edit > Preferences > Code Hints 
		and make sure the checkbox next to "WordPress Code Hints" is 
		enabled, press OK to save your changes. That's it!

	TODO:
		- package as a Dreamweaver extension
		- add extract_from_markers(); insert_with_markers();
		fix value attributes
		add secondary menus -> orderby, etc
		add filters/hooks API?
		- add variables from codex ($post, $etc)
	
	---------------------------------------------------------------
	GNU PUBLIC LICENSE
	---------------------------------------------------------------
	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.
	
	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
	GNU General Public License for more details.
	
	You should have received a copy of the GNU General Public License
	along with this program. If not, see http://www.gnu.org/licenses
	---------------------------------------------------------------
-->
<codehints xmlns:MMString="http://www.macromedia.com/schemes/data/string/">
<menugroup MMString:name="codehints_wordpressapi" id="CodeHints_WordPressAPI" name="WordPress Code Hints ($Revision$)" enabled="true">
	<description>
		<![CDATA[ WordPress Code Hinting for Dreamweaver ($Revision$) ]]>
	</description>

	<function pattern="addslashes_gpc($gpc)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_action($tag, $function_to_add, $priority, $accepted_args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_blog_option($id, $key, $value)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_custom_background($header_callback, $admin_header_callback, $admin_image_div_callback)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_custom_image_header($header_callback, $admin_header_callback, $admin_image_div_callback)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_existing_user_to_blog($blog_id, $user_id, $role)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_filter($tag, $function_to_add, $priority, $accepted_args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_magic_quotes($array)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_menu_page($page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $position)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_meta_box($id, $title, $callback, $page, $context, $priority, $callback_args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_new_user_to_blog($blog_id, $user_id, $role)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_object_page($page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $position)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_option($name, $value, $deprecated, $autoload)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_ping($post_id, $uri)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_post_meta($post_id, $meta_key, $meta_value, $unique)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_post_type_support($post_type, $supports)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_query_arg($param1, $param2, $old_query_or_uri)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_role($role, $display_name, $capabilities)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_shortcode($tag , $func)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_submenu_page($parent_slug, $page_title, $menu_title, $capability, $menu_slug, $function)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_theme_support($feature)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_user_meta($user_id, $meta_key, $meta_value, $unique)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_user_to_blog($blog_id, $user_id, $role)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_utility_page($page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $position)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="admin_notice_feed()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="admin_url($path, $scheme)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="allowed_tags()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="antispambot($emailaddy, $mailto)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="apply_filters($tag, $value, $var)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="attribute_escape($text)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="author_can($post, $capability)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="auth_redirect()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="avoid_blog_page_permalink_collision()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="backslashit($string)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="balanceTags($text, $force)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="bloginfo($show)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="bloginfo_rss($show)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="body_class($class)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="bool_from_yn($yn)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="cache_javascript_headers()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="calendar_week_mod()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="cancel_comment_reply_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="category_description()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="cat_is_ancestor_of($cat1, $cat2)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="check_admin_referer($action, $query_arg)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="check_ajax_referer($action, $query_arg, $die)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="check_comment($author, $email, $url, $comment, $user_ip, $user_agent, $comment_type)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="check_import_new_users()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="check_upload_mimes()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="check_upload_size($file)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="choose_primary_blog()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="clean_pre($matches)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="clean_url($url, $protocols, $context)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comments_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comments_number($zero, $one, $more)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comments_open($post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comments_popup_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comments_popup_script()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comments_rss_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comments_template($file, $separate_comments)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_author($comment_ID)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_author_email()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_author_email_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_author_IP()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_author_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_author_rss()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_author_url()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_author_url_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_class($class)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_date('d', $comment_ID)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_excerpt()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_form($args, $post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_form_title()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_ID()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_id_fields()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_reply_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_text($comment_ID)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_text_rss()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_time('d')" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="comment_type()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="confirm_delete_users()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="content_url($path)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="convert_chars($content, $deprecated)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="convert_smilies($text)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="count_many_users_posts($users)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="count_users($strategy)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="count_user_posts($userid)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="create_empty_blog($domain, $path, $weblog_title, $site_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="current_filter()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="current_theme_supports($feature)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="current_time($type, $gmt = 0)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="current_user_can($capability)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="current_user_can_for_blog($blog_id, $capability)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="dashboard_quota()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="date_i18n($dateformatstring, $unixtimestamp, $gmt)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="delete_blog_option($id, $key)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="delete_get_calendar_cache()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="delete_option($name)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="delete_post_meta($post_id, $meta_key, $meta_value)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="delete_user_meta($user_id, $meta_key, $meta_value)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="did_action($tag)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="discover_pingback_server_uri($url, $deprecated)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="display_space_usage()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="domain_exists($domain, $path, $site_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="do_action($tag, $arg)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="do_action_ref_array($tag, $arg)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="do_all_pings()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="do_enclose($content, $post_ID)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="do_feed()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="do_feed_atom($for_comments)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="do_feed_rdf()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="do_feed_rss()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="do_feed_rss2($for_comments)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="do_robots()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="do_shortcode($content)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="do_shortcode_tag($m)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="do_trackbacks($post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="dynamic_sidebar($index)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="edit_bookmark_link($link, $before, $after, $bookmark)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="edit_comment_link($link, $before, $after)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="edit_post_link($link, $before, $after, $id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="edit_tag_link($link, $before, $after, $tag)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="email_exists($email)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="ent2ncr($text)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="esc_attr($text)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="esc_html($text)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="esc_js($text)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="esc_textarea($text)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="esc_url($url, (array) $protocols = null)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="extract_from_markers($filename, $marker)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="fetch_feed($uri)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="filter_SSL($url)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="fix_import_form_size($size)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="fix_phpmailer_messageid($phpmailer)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="force_balance_tags($text)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="force_ssl_content($force)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="format_code_lang($code)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="format_to_edit($content, $richedit)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="format_to_post($content)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="form_option($option)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="add_cap($role, $cap, $grant)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="remove_cap($role, $cap)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="funky_javascript_fix($text)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="generic_ping($post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_404_template()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_active_blog_for_user($user_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_adjacent_post($in_same_cat, $excluded_categories, $previous)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_admin_url()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_admin_users_for_domain($sitedomain, $path)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_alloptions()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_all_category_ids()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_all_page_ids()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_ancestors($object_id, $object_type)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_approved_comments($post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_archives_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_archive_template()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_attached_file($attachment_id, $unfiltered)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_attachment_link($id, $size, $permalink, $icon, $text)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_attachment_template()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_author_feed_link($author_id, $feed)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_author_posts_url($author_id, $author_nicename)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_author_template()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_avatar($id_or_email, $size, $default, $alt)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_blogaddress_by_domain($domain, $path)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_blogaddress_by_id($blog_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_blogaddress_by_name($blogname)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_bloginfo($show, $filter)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_bloginfo_rss($show)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_blogs_of_user($user_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_blog_count($id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_blog_details($blog_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_blog_id_from_url($domain, $path)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_blog_option($blog_id, $setting , $default)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_blog_permalink($_blog_id, $post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_blog_post($blog_id, $post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_blog_status($id, $pref)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_bookmark($bookmark, $output, $filter)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_bookmarks($args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_bookmark_field()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_boundary_post($in_same_cat, $excluded_categories, $start)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_calendar($initial, $echo)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_categories($args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_category($category, $output, $filter)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_category_by_path($category_path, $full_match, $output)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_category_by_slug($slug)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_category_feed_link($cat_id, $feed)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_category_link($category_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_category_parents($category, $display_link, $separator, $nice_name)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_category_template|get_category_template()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_cat_ID($cat_name)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_cat_name($cat_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_children($args, $output)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_comment($id, $output)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_comments($args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_comments_popup_template()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_comment_author_rss()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_comment_link($comment, $args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_comment_text($comment_ID)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_currentuserinfo()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_current_blog_id()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_current_site()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_current_site_name($current_site)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_current_theme()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_dashboard_blog()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_date_from_gmt($string, $format)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_date_template()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_day_link($year, $month, $day)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_dirsize($directory)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_edit_post_link($id, $context)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_enclosed($post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_extended($post)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_footer($name)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_gmt_from_date()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_header($string)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_header_image()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_header_textcolor()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_home_template()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_home_url()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_id_from_blogname($name)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_lastcommentmodified($timezone)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_lastpostdate($timezone)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_lastpostmodified($timezone)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_last_updated($depreciated, $start, $quantity)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_locale_stylesheet_uri()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_month_link($year, $month)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_most_recent_post_of_user($user_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_next_post($in_same_cat, $excluded_categories)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_num_queries()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_option($show, $default)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_page($page_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_paged_template()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_pages($args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_page_by_path($page_path, $output, $post_type)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_page_by_title($page_title, $output, $post_type)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_page_children($page_id, $pages)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_page_hierarchy($posts, $parent)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_page_link($id, $leavename, $sample)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_page_template()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_page_uri($page_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_permalink($id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_post($post_id, $output)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_posts($args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_post_ancestors($post)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_post_comments_feed_link($post_id, $feed)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_post_custom($post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_post_custom_keys($post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_post_custom_values($key, $post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_post_meta($post_id, $key, $single)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_post_mime_type($ID)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_post_permalink()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_post_status($ID)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_post_thumbnail_id()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_post_type($post)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_post_type_capabilities($args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_post_type_labels($post_type_object)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_post_type_object($post_type)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_post_types($args, $output, $operator)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_previous_post($in_same_cat, $excluded_categories)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_profile($field, $user)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_pung($post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_query_template($type)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_query_var($var)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_role($role)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_search_comments_feed_link($search_query, $feed)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_search_feed_link($search_query, $feed)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_search_form($echo)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_search_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_search_query()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_search_template()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_shortcode_regex()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_sidebar($name)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_single_template()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_sitestats()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_site_allowed_themes()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_site_option($option, $default , $use_cache)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_site_url($blog_id, $path, $scheme)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_space_allowed()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_stylesheet()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_stylesheet_directory()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_stylesheet_directory_uri()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_stylesheet_uri()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_super_admins()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_tag($tag, $output, $filter)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_tags($orderby, $order, $hide_empty, $exclude, $include, $number, $offset, $fields, $slug, $hierarchical, $search, $name__like)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_tag_link($tag_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_tag_template()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_taxonomies($args, $output, $operator)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_taxonomy_template()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_template()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_template_directory()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_template_directory_uri()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_template_part($slug, $name)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_term($term, $taxonomy, $output, $filter)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_terms($taxonomies, $args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_term_by($field, $value, $taxonomy, $output, $filter)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_term_children($term, $taxonomy)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_term_link($term, $taxonomy)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_theme($theme)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_themes()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_theme_data($theme_filename)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_theme_mod($name, $default)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_theme_root()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_theme_root_uri()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_author()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_author_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_category($id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_category_by_ID($cat_ID)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_category_rss($type)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_content($more_link_text, $stripteaser, $more_file)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_date()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_excerpt($deprecated)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_ID()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_post_thumbnail($post_id, $size, $attr)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_tags($id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_tag_list($before, $sep, $after)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_terms($id, $taxonomy)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_term_list($id, $taxonomy, $before, $sep, $after)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_time($d, $post)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_title($ID)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_the_title_rss()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_to_ping($post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_upload_space_available()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_userdata($userid)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_userdatabylogin($user_login)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_usernumposts($userid)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_users($args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_users_of_blog()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_user_count()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_user_id_from_string($string)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_user_meta($user_id, $key, $single)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_user_option($option, $user)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_weekstartend($mysqlstring, $start_of_week)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="get_year_link($year)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="global_terms($term_id, $deprecated)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="grant_super_admin($user_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="has_action($tag, $function_to_check)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="has_filter($tag, $function_to_check)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="has_nav_menu($location)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="has_post_thumbnail()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="has_tag($tag)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="have_comments()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="header_image()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="header_textcolor()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="home_url($path, $scheme)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="htmlentities2($myHTML)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="human_time_diff($from, $to)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="includes_url($path)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="insert_blog($domain, $path, $site_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="insert_with_markers($filename, $marker, $insertion)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="install_blog($blog_id, $blog_title)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="install_blog_defaults($blog_id, $user_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="in_category($category, $_post)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="iso8601_timezone_to_offset($timezone)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="iso8601_to_datetime($date_string, $timezone)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_404()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_admin()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_archive()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_archived()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_attachment()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_author($author)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_blog_installed()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_blog_user($blog_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_category($category)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_comments_popup()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_date()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_day()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_email($email)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_email_address_unsafe($user_email)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_feed()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_front_page()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_home()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_local_attachment($url)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_main_site($blog_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_month()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_new_day()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_page($page)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_paged()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_page_template($template)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_post_type_archive($post_types)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_post_type_hierarchical($post_type)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_preview()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_search()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_serialized($data)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_serialized_string($data)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_single($post)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_singular($post_types)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_ssl()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_sticky($post_ID)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_subdomain_install()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_super_admin($user_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_tag($slug)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_tax($taxonomy, $term)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_taxonomy_hierarchical($taxonomy)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_time()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_trackback()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_upload_space_available()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_user_logged_in()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_user_member_of_blog()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_user_option_local($key, $user_id, $blog_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_user_spammy($username)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="is_year()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="load_template($_template_file)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="locale_stylesheet()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="locate_template($template_names, $load, $require_once)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="log_app($label, $msg)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="make_clickable($ret)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="map_meta_cap($cap, $user_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="maybe_add_existing_user_to_blog()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="maybe_redirect_404()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="maybe_serialize($data)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="maybe_unserialize($original)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="menu_page_url($menu_slug, $echo)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="merge_filters($tag)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="ms_cookie_constants()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="ms_deprecated_blogs_file()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="ms_file_constants()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="ms_not_installed()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="ms_site_check()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="ms_subdomain_constants()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="ms_upload_constants()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="mu_dropdown_languages($lang_files, $current)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="mysql2date($dateformatstring, $mysqlstring, $translate = true)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="newblog_notify_siteadmin($blog_id, $deprecated)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="newuser_notify_siteadmin($user_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="new_user_email_admin_notice()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="next_comments_link($label, $max_page)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="next_image_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="next_posts_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="next_post_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="nocache_headers()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="page_uri_index()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="paginate_comments_links($args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="permalink_anchor()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="permalink_comments_rss()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="permalink_single_rss($file)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="pingback($content, $post_ID)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="pings_open($post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="plugins_url($path, $plugin)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="plugin_basename($file)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="popuplinks($text)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="posts_nav_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="post_class()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="post_comments_feed_link($link_text, $post_id, $feed)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="post_password_required()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="post_permalink()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="post_type_archive_title($prefix, $display)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="post_type_supports($post_type, $supports)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="preview_theme()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="preview_theme_ob_filter($content)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="preview_theme_ob_filter_callback($matches)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="previous_comments_link($label)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="previous_image_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="previous_posts_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="previous_post_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="privacy_ping_filter($sites)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="recurse_dirsize($directory)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="redirect_mu_dashboard()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="redirect_this_site($deprecated)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="redirect_user_to_blog()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="refresh_blog_details($blog_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="refresh_user_details($id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="register_activation_hook($file, $function)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="register_deactivation_hook($file, $function)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="register_nav_menu($location, $description)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="register_nav_menus($locations)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="register_post_type($post_type, $args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="register_setting($option_group, $option_name, $sanitize_callback)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="register_taxonomy($taxonomy, $object_type, $args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="register_taxonomy_for_object_type($taxonomy, $object_type)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="register_theme_directory($directory)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="remove_accents($string)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="remove_action($tag, $function_to_remove, $priority, $accepted_args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="remove_all_actions($tag, $priority)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="remove_all_filters($tag, $priority)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="remove_all_shortcodes()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="remove_filter($tag, $function_to_remove, $priority, $accepted_args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="remove_meta_box($id, $page, $context)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="remove_post_type_support($post_type, $supports)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="remove_query_arg($key, $query)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="remove_role($role)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="remove_shortcode($tag)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="remove_theme_mod($name)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="remove_theme_mods()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="remove_user_from_blog($user_id, $blog_id, $reassign)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="require_if_theme_supports($feature, $include)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="restore_current_blog()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="revoke_super_admin($user_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="rss_enclosure()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="sanitize_comment_cookies()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="sanitize_email($email)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="sanitize_file_name($name)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="sanitize_title($title, $fallback_title)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="sanitize_title_with_dashes($title)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="sanitize_user($username, $strict)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="search_theme_directories()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="secret_salt_warning()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="seems_utf8($str)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="send_confirmation_on_profile_email()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="settings_fields($option_group)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="set_current_user($id, $name)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="set_post_type($post_id, $post_type)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="set_theme_mod($name, $value)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="shortcode_atts($pairs , $atts)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="shortcode_parse_atts($text)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="show_post_thumbnail_warning()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="signup_nonce_check($result)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="signup_nonce_fields()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="single_cat_title()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="single_month_title()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="single_post_title()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="single_tag_title()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="single_term_title()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="site_admin_notice()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="site_url($path, $scheme)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="spawn_cron($local_time)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="status_header($header)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="sticky_class()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="stripslashes_deep($value)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="strip_shortcodes($content)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="switch_theme($template, $stylesheet)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="switch_to_blog($new_blog, $validate)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="sync_category_tag_slugs($term, $taxonomy)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="tag_description()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="taxonomy_exists($taxonomy)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="term_description()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="term_exists($term, $taxonomy, $parent)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_attachment_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_author()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_author_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_author_meta()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_author_posts()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_author_posts_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_category()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_category_rss($type)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_content()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_content_rss($more_link_text, $stripteaser, $more_file, $cut, $encode_html)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_date($format, $before, $after, $echo)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_date_xml()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_excerpt()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_excerpt_rss()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_feed_link()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_ID()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_meta()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_modified_author()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_modified_date()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_modified_time()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_permalink()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_post_thumbnail()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_search_query()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_shortlink()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_tags()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_taxonomies()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_terms()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_time()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_title()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_title_attribute()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="the_title_rss()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="trackback($trackback_url, $title, $excerpt, $ID)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="trackback_url()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="trackback_url_list($tb_list, $post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="trailingslashit($string)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="unregister_nav_menu($location)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="unregister_setting($option_group, $option_name, $sanitize_callback)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="untrailingslashit($string)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="update_archived($id, $archived)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="update_attached_file($attachment_id, $file)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="update_blog_details($blog_id, $details)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="update_blog_option($id, $key, $value, $depreciated)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="update_blog_public($old_value, $value)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="update_blog_status($blog_id, $pref, $value, $refresh)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="update_option($option_name, $newvalue)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="update_option_new_admin_email($old_value, $value)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="update_posts_count($deprecated)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="update_post_meta($post_id, $meta_key, $meta_value, $prev_value)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="update_user_meta($user_id, $meta_key, $meta_value, $prev_value)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="update_user_option($user_id, $option_name, $newvalue, $global)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="update_user_status($id, $pref, $value, $deprecated)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="upload_is_file_too_big($upload)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="upload_is_user_over_quota($echo)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="upload_size_limit_filter($size)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="upload_space_setting($id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="url_shorten($url)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="username_exists($username)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="users_can_register_signup_filter()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="user_can($user, $capability)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="user_pass_ok($user_login, $user_pass)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="user_trailingslashit()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="utf8_uri_encode($utf8_string, $length)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="validate_current_theme()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="validate_username($username)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="walk_nav_menu_tree()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="weblog_ping($server, $path)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="welcome_user_msg_filter($text)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wordpressmu_wp_mail_from()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp($query_vars)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpautop($foo, $br)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_activate_signup($key)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_admin_redirect_add_updated_param()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_create_blog($domain, $path, $title, $user_id, $meta, $site_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_create_user($user_name, $password, $email)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_current_site()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_delete_blog($blog_id, $drop)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_delete_user($id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_get_blog_allowedthemes($blog_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_log_new_registrations($blog_id, $user_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_signup_blog($domain, $path, $title, $user, $user_email, $meta)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_signup_blog_notification($domain, $path, $title, $user, $user_email, $key, $meta)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_signup_user($user, $user_email, $meta)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_signup_user_notification($user, $user_email, $key, $meta)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_update_blogs_date()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_validate_blog_signup($blogname, $blog_title, $user)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_validate_user_signup($user_name, $user_email)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_welcome_notification($blog_id, $user_id, $password, $title, $meta)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wpmu_welcome_user_notification($user_id, $password, $meta)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wptexturize($text)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_ajaxurl()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_allow_comment($commentdata)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_attachment_is_image($post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_category_checklist()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_check_filetype($filename, $mimes)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_check_for_changed_slugs($post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_clearcookie()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_clear_scheduled_hook($hook, $args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_count_comments($post_id)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_count_posts($type, $perm)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_create_category($cat_name, $parent)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_create_nonce($action)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_create_user($username, $password, $email)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_cron()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_delete_attachment()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_delete_category($cat_ID)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_delete_comment($attachmentid, $force_delete = false)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_delete_post($postid, $force_delete)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_delete_term($term_id, $taxonomy, $args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_delete_user($id, $reassign)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_die($message, $title, $args)" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_dropdown_categories()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern="wp_dropdown_users()" DOCTYPES="PHP_MySQL" casesensitive="true" />
	<function pattern=

This file provides code hinting (auto-completion) for the WordPress API in Dreamweaver's code view. There are currently 1422 functions and keywords from the WordPress API supported!

Grab the latest version from the repo: http://code.google.com/p/wordpress-codehints/

albertpak98/PHP Code to Insert cForms in Page Template ( PHP)

<?php insert_cform('Default'); ?>

If you would like to insert a cForms form into your WordPress website without using the TinyMCE or Widget function, you can do so by inserting this code in your template.

Replace ‘Default’ with the name given to your form.

BoNzO/Block malicious URL Requests on Wordpress ( PHP)

<?php
/*
Plugin Name: Block Bad Queries
Plugin URI: http://perishablepress.com/press/2009/12/22/protect-wordpress-against-malicious-url-requests/
Description: Protect WordPress Against Malicious URL Requests
Author URI: http://perishablepress.com/
Author: Perishable Press
Version: 1.0
*/
global $user_ID; if($user_ID) {
  if(!current_user_can('level_10')) {
    if (strlen($_SERVER['REQUEST_URI']) > 255 ||
      strpos($_SERVER['REQUEST_URI'], "eval(") ||
      strpos($_SERVER['REQUEST_URI'], "CONCAT") ||
      strpos($_SERVER['REQUEST_URI'], "UNION+SELECT") ||
      strpos($_SERVER['REQUEST_URI'], "base64")) {
        @header("HTTP/1.1 414 Request-URI Too Long");
	@header("Status: 414 Request-URI Too Long");
	@header("Connection: Close");
	@exit;
    }
  }
}
?>

zartgesotten/Wordpress 2nd Level Menu Subpages ( PHP)

<?php
    global $wp_query;
    if( empty($wp_query->post->post_parent) ) 
      {
         $parent = $wp_query->post->ID;
      } 
    else 
     {
         $parent = $wp_query->post->post_parent;
     } ?>
   
<?php if(wp_list_pages("title_li=&amp;child_of=$parent&amp;echo=0" )): ?>
    <ul class="submenus">
      <?php wp_list_pages("title_li=&amp;child_of=$parent" ); ?>
     </ul>

<?php endif; ?>

This is what I wanted:\r\nI had a structure like this:\r\n-Artist\r\n --Peter Miller\r\n ---Pictures\r\n ---Press\r\n ---Videos\r\n\r\nand wanted to have the sub-sub-Menu when located on the \"Peter Miller\"-Page. \r\nSo that on \"Peter Miller\" you\'d have \"Pictures, Press and Videos\"-Menu and also on the sibling pages but not on Artists-Page!

cmslounge/Wordpress .htaccess generic code ( Other)

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

Ben/My general wordpress code ( PHP)

<!--Reference the theme directory -->
<?php bloginfo('template_directory'); ?>

<!--php language attributes -->
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<!--Page template code -->
<?php /* Template Name:  Home */ ?>

<!--Home link -->
<a href="<?php bloginfo('url'); ?>/" title="Return To Home Page &amp;raquo; <?php bloginfo('name'); ?>" tabindex="1">

<!--Include the search form -->
<?php include (TEMPLATEPATH . '/searchform.php'); ?>

<!--Search form with no search button -->
<?php $search_text = "Search"; ?>
<form method="get" id="searchform"
action="<?php bloginfo('home'); ?>/">
<input type="text" value="<?php echo $search_text; ?>"
name="s" id="s"
onblur="if (this.value == '')
{this.value = '<?php echo $search_text; ?>';}"
onfocus="if (this.value == '<?php echo $search_text; ?>')
{this.value = '';}" />
<input type="hidden" id="searchsubmit" />
</form>

<!--RSS feeds -->
<?php bloginfo('rss2_url'); ?>
Also see: http://codex.wordpress.org/WordPress_Feeds

<!--List pages -->
<?php wp_list_pages('title_li=&amp;depth=0'); ?>

Just some general Wordpress code which I use often.

certainlyakey/Latest posts by current author widget plugin for Wordpress 3+ ( PHP)

<?php
/*
Plugin Name: Latest posts by current author
Plugin URI: http://podojdi.ru/
Description: Displays latest posts by current author (place it within the loop). Adapted from code from here http://www.wpbeginner.com/wp-tutorials/how-to-display-related-posts-by-same-author-in-wordpress/ and a tutorial here http://www.makeuseof.com/tag/how-to-create-wordpress-widgets/
Author: Alexander Belyaev
Version: 1.0
Author URI: http://podojdi.ru/
*/
 
 
class LatestByAuthorWidget extends WP_Widget
{
  function LatestByAuthorWidget()
  {
    $widget_ops = array('classname' => 'LatestByAuthorWidget', 'description' => 'Displays latest posts by current author' );
    $this->WP_Widget('LatestByAuthorWidget', 'Latest posts by current author', $widget_ops);
  }
 
  function form($instance)
  {
    $instance = wp_parse_args( (array) $instance, array( 'title' => '' ) );
    $title = $instance['title'];
?>
  <p><label for="<?php echo $this->get_field_id('title'); ?>">Title: <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo attribute_escape($title); ?>" /></label></p>
<?php
  }
 
  function update($new_instance, $old_instance)
  {
    $instance = $old_instance;
    $instance['title'] = $new_instance['title'];
    return $instance;
  }
 
  function widget($args, $instance)
  {
    extract($args, EXTR_SKIP);
 
    echo $before_widget;
    $title = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']);
 
    if (!empty($title))
      echo $before_title . $title . $after_title;
 
    // WIDGET CODE GOES HERE
    
	
	  
    global $authordata, $post;

    $authors_posts = get_posts( array( 'author' => $authordata->ID, 'post__not_in' => array( $post->ID ), 'posts_per_page' => 7 ) );
    $output = '<ul>';
    foreach ( $authors_posts as $authors_post ) {
        $output .= '<li><a href="' . get_permalink( $authors_post->ID ) . '">' . apply_filters( 'the_title', $authors_post->post_title, $authors_post->ID ) . '</a></li>';
    }
    $output .= '</ul>';
    echo $output;

	
	
    echo $after_widget;
  }
 
}
add_action( 'widgets_init', create_function('', 'return register_widget("LatestByAuthorWidget");') );?>

Displays latest posts by current author (place it within the loop). Adapted from code from here and a tutorial here

BoNzO/Display Custom Fields Outside The Loop in WordPress ( PHP)

<?php
global $wp_query;
$postid = $wp_query->post->ID;
echo get_post_meta($postid, 'Your-Custom-Field', true);
wp_reset_query();
?>