Answers.Body: <p>Well I guess I answered this myself...</p>
  <p>You do not need to add any includes or requires.
  The CiviCRM API is just availble automatically in a WordPress plugin.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-04-15T18:35:09.273Z
Answers.LastActivityDate: 2024-04-15T18:35:09.273Z
Answers.UserDisplayName: jsherk
Body: <p>Wondering what I need to <code>include/require</code> in a WordPress plugin to access the CiviCRM API functions from within that plugin (assuming that CiviCRM is installed on this WordPress installation).</p>
  <p>Or is the API just automatically available?</p>
  
Tags: <wordpress><api>
Title: How to access CiviCRM API functions from a WordPress plugin
ThreadText: # How to access CiviCRM API functions from a WordPress plugin
  
  (Asked by: username_0 on 2024-04-15)
  
  Wondering what I need to `include/require` in a WordPress plugin to access the CiviCRM API functions from within that plugin (assuming that CiviCRM is installed on this WordPress installation).
  
  Or is the API just automatically available?
  
  **Tags:** wordpress, api
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2024-04-15. Score: 2
  
  Well I guess I answered this myself...
  
  You do not need to add any includes or requires.
  The CiviCRM API is just availble automatically in a WordPress plugin.
  
  
  ---
  
  