Welcome to our Knowledge Base
Categories
< All Topics
Print

Developer API (BETA)

WPComplete 2.9+ has a public API for developers who want to build off of our existing functionality right within their PHP/Wordpress code and templates. To do so, here are some functions that are available.

Please note that we don’t offer advice or support on using our API, it’s presented as-is. That said, if there is a bug with it, please let us know, as it is a brand new feature.

  • WPComplete::courses(array( ‘posts’ => false|true, ‘stats’ => false|true))
  • WPComplete::user()
  • WPComplete::users()
    
  • WPComplete::pages(array(‘completed’ => null|true|false, ‘course’ => null|string, ‘buttons’ => null|true, … ))

For WPComplete::pages(), we also accept all the options that wpc_list_pages shortcode uses.

Table of Contents