Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit cc672484f92c9566b63437d4c07e32aa167cd43a @danielbachhuber danielbachhuber committed Oct 27, 2012
Showing with 28 additions and 0 deletions.
  1. 0 readme.txt
  2. +28 −0 what-the-email.php
No changes.
@@ -0,0 +1,28 @@
+<?php
+/**
+ * Plugin Name: What the Email
+ * Plugin URI: https://github.com/Automattic/What-the-Email
+ * Description: Parse that email and tell me what it is!
+ * Author: Daniel Bachhuber, Automattic
+ * Version: 0.0
+ * Author URI: http://automattic.com/
+ */
+
+class What_The_Email
+{
+
+ private static $instance;
+
+ public static function instance() {
+
+ if ( ! isset( self::$instance ) ) {
+ self::$instance = new What_The_Email;
+ }
+ return self::$instance;
+ }
+
+}
+
+function What_The_Email() {
+ return What_The_Email::instance();
+}

0 comments on commit cc67248

Please sign in to comment.