title: Call a method in a PHP class from wordpress functions.php
body: <p>I have a separate PHP class called MyClass.php. I need to call a method in that class and send it a variable. This is what I have in functions.php:</p>
  
  <pre><code>function email_submission($entry, $form){
      MyClass::addEmail($entry["2"]);
  }
  
  //Fatal error: Class 'MyClass' not found in /path/wp-content/themes/mytheme/functions.php
  </code></pre>
  
  <p>What am I missing?</p>