Skip to content

Instantly share code, notes, and snippets.

@obstschale
Created May 4, 2015 06:59
Show Gist options
  • Save obstschale/78eebcc852520c0b3c4c to your computer and use it in GitHub Desktop.
Save obstschale/78eebcc852520c0b3c4c to your computer and use it in GitHub Desktop.
WordPress Test File. Simply put it into the same folder where wp-config.php lives.
<?php
// Load the WordPress Environment
define( 'WP_DEBUG', true );
require('./wp-load.php');
?>
<pre>
<?php
$arrayName = array('val1', 'val2' );
echo count($arrayName);
?>
</pre>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment