WordPress Code Snippets

A fresh mix of code snippets and tutorials

Get WP, PHP, and SQL Info


Here are some sweet code snippets for getting various types of server information. Includes more functions for getting and/or checking various types of WordPress, PHP, and SQL data. Strictly plug-&-play for quick reference and copy/paste usage.

WordPress: Check the database table prefix:

WordPress: Check the wp-config.php file:

PHP: Check XML support

PHP: Check IPTC support

PHP: Check EXIF support

SQL: Get SQL version

SQL: Get SQL info


Learn more

WordPress Themes In Depth

Show Support

Like our new Facebook Page to show support!