Title: WP Experience API
Author: ctltwp
Published: <strong>Èbìbí  11, 2015</strong>
Last modified: Ògún  11, 2015

---

Ṣàwárí àwọn plugin

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://s.w.org/plugins/geopattern-icon/wp-experience-api.svg)

# WP Experience API

 Láti ọwọ́ [ctltwp](https://profiles.wordpress.org/ctltwp/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/wp-experience-api.1.0.6.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/wp-experience-api/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/wp-experience-api/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/wp-experience-api/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/wp-experience-api/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/wp-experience-api/)

## Àpèjúwe

Sends xAPI statements to LRS (tested against LearningLocker and cloud.scorm.com).
Some features are enabled
 ONLY if the dependent plugins have also been installed.
The plugin can be used as a MU plugin as well.

It has been partially tested with:

 * [SCORM Cloud](https://cloud.scorm.com)
 * [Learning Locker](http://learninglocker.net/)

Statements that can be sent are:

 * page views
 * post status changes
 * commenting
 * earning badges(1)
 * voting(2)

(1) requires

 * [JSON API](https://wordpress.org/plugins/json-api/)
 * [BadgeOS](https://wordpress.org/plugins/badgeos/)
 * [https://github.com/ubc/open-badges-issuer-addon](https://github.com/ubc/open-badges-issuer-addon)

(2) currently only works with PulsePress theme (https://wordpress.org/themes/pulsepress/)
when voting or starring

This plugin was developed at the UBC Centre for Teaching, Learning and Technology.

## Àwọn àwòrán ìbòjú

[⌊The network level administration screen for a Multisite WordPress installtion.⌉⌊
The network level administration screen for a Multisite WordPress installtion.⌉[

The network level administration screen for a Multisite WordPress installtion.

[⌊Site level administration page for users autorized to set the LRS at the site 
level.⌉⌊Site level administration page for users autorized to set the LRS at the
site level.⌉[

Site level administration page for users autorized to set the LRS at the site level.

## Ìgbéwọlẹ̀

Assumes you are using PHP version >= 5.4 (requirement of TinCanPHP Library that 
the plugin includes)

 1. plunk folder into plugins
 2. Activate the plugin “WP Experience API” through the “Plugins” menu in WordPress

#### EXTRA NOTES FOR MU:

If you want to install in wp-content/mu-plugins folder, the plugin uses a proxy 
loader file.

 1. copy wp-experience-api directory to mu-plugins folder
 2. copy wp-experience-api/wp-experience-api-mu-loader.php to directory one level up(
    same level as wp-experience-api itself AKA just under mu-plugins folder)
 3. it should be installed! Enjoy!

#### EXTRA EXTRA NOTES:

 * now that the plugin uses the TinCanPHP library (http://rusticisoftware.github.
   io/TinCanPHP/), please make sure that it is updated regularly as well! current
   version is 0.11.4

## FAQ

  How can I add more xAPI statements to the plugin?

You can create your own plugin and use the pluginÌtumọ̀ Yorùbá: ’s hooks!

  How come nothing is being sent to the LRS after I activate the plugin?

The settings are defaulted so that nothing is sent by default. Please go to the 
dashboard and the WP xAPI settings page to configure what statements are sent.

  What is the queue for?

The queue is used for when for some reason, LRS canÌtumọ̀ Yorùbá: ’t be reached,
then statements meant to be sent will be added to the queue to be sent later in 
the admin screen.

## Àwọn àgbéyẹ̀wò

![](https://secure.gravatar.com/avatar/7eaf8af4da7d2b0102453ac3e96580dd236994d998e236f54e33fd7c1fb90d84?
s=60&d=retro&r=g)

### 󠀁[Great work!](https://wordpress.org/support/topic/great-work-498/)󠁿

 [Bob](https://profiles.wordpress.org/prasunsen/) Igbe 5, 2017

Thank you for the great work! The plugin allows integration with other plugins. 
We just implemented sending xAPI statements from Namaste! LMS through WP Experience
API by adding triggers and it works like a charm. This plugin deserves far more 
popularity that it has.

![](https://secure.gravatar.com/avatar/1fbbc758ab7bf3c2d468be34adcdded418158efd278ec5c7f407ed5bec3c8f2d?
s=60&d=retro&r=g)

### 󠀁[Simple and Solid](https://wordpress.org/support/topic/simple-and-solid-7/)󠁿

 [Swampy](https://profiles.wordpress.org/johnrichter/) Ọwẹ́wẹ̀ 3, 2016

Really impressive, as I had about zero expectations that this would even function.
WhatÌtumọ̀ Yorùbá: ’s unbelievable about this add-in is that it is i) about one 
of two hits on “tin can” or “xapi” on plugins library (the other being one for the
H5P connector); and ii) 20+ downloads in last 6 Ìtumọ̀ Yorùbá: – 12 months this 
has been available. Makes me think that Tin Can doesnÌtumọ̀ Yorùbá: ’t have much
of a following (yet), but given SCORM is, or should be, dead or dying, would think
only a matter of time. Suggests that there are fewer than 20 sites out there with
i) non-PHP programmers managing them; and ii) any interest in sending standard “
left a comment on my WP site” statements to an LRS. In any event, the plug-in does
exactly what it should. I punched in some user codes for a GrassBlade LRS I have,
and it worked just as youÌtumọ̀ Yorùbá: ’d expect, so you can add that LRS to the
list of “somewhat test” set-ups. (I used the API keys, etc. that were derived from
spending $49.00 on that plugin Ìtumọ̀ Yorùbá: — did see if more normal credentials
would work or not.) Only reason not 5 stars, is that the plugin is just not that
fully developed to allow for the range of interactions one might hope for. For instance,
it did recognize the action of leaving a comment on a BBPress forum, but the title,
but what showed up in the LRS as a “title” (I guess object of statement), didnÌtumọ̀
Yorùbá: ’t seem quite connected to the specific page. As well, and in fairness to
developer who certainly has not indicated otherwise, I use some random ratings plug-
in (not the theme item specifically noted), and I canÌtumọ̀ Yorùbá: ’t capture the
action of “rating a post”, which is on my list of activities IÌtumọ̀ Yorùbá: ’d 
like to track. In any event, all good. This plug-in would think deserves some more
downloads and a few more reviews.

 [ Ka gbogbo àwọn àgbéyẹ̀wò 2 ](https://wordpress.org/support/plugin/wp-experience-api/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“WP Experience API” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe 
ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ ctltwp ](https://profiles.wordpress.org/ctltwp/)
 *   [ loongchan ](https://profiles.wordpress.org/loongchan/)
 *   [ ctlt-dev ](https://profiles.wordpress.org/ctlt-dev/)

[Túmọ̀ “WP Experience API” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/wp-experience-api)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/wp-experience-api/), ṣàyẹ̀wò
[ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/wp-experience-api/), tàbí ṣe 
àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/wp-experience-api/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/wp-experience-api/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 1.0.6

 * tweaked syntax to fit with wordpress better (got codesniffer to work on my ide
   again!)
 * fixed bug where posts with empty body makes invalid statements.

#### 1.0.5

 * tweaked the queueing system so that you click on a button on the admin pages 
   to run the queue instead of trying to use wp-cron.
 * bug fixes (made timestamp follow iso8601 more strictly and fixed typo)

#### 1.0.4

 * added a queueing system. Also setting timestamp field is done by the plugin.

#### 1.0.3

 * added additional options for whitelisted users access level. Options are whitelisted
   users have full control or only control LRS info at the site level.

#### 1.0.2

 * changed verb for commented statements from created to commented

#### 1.0.1

 * fixed bug found where statements are invalid if site tagline is left blank. Now
   it will dispay ‘n/a’ for empty website taglines.
 * updated readme formatting

#### 1.0.0

 * Initial public release

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.0**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 11 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **10+**
 *  Ẹ̀yà WordPress ** 3.5 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **4.2.39**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/wp-experience-api/)
 * Àwọn àmì
 * [badgeOS](https://yor.wordpress.org/plugins/tags/badgeos/)[experience api](https://yor.wordpress.org/plugins/tags/experience-api/)
   [xAPI](https://yor.wordpress.org/plugins/tags/xapi/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/wp-experience-api/advanced/)

## Àwọn ìbò

 4.5 lára àwọn ìràwọ̀ 5.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/wp-experience-api/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/wp-experience-api/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-experience-api/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-experience-api/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-experience-api/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-experience-api/reviews/#new-post)

[Wo gbogbo àwọn àgbéyẹ̀wò](https://wordpress.org/support/plugin/wp-experience-api/reviews/)

## Àwọn Olùkópa

 *   [ ctltwp ](https://profiles.wordpress.org/ctltwp/)
 *   [ loongchan ](https://profiles.wordpress.org/loongchan/)
 *   [ ctlt-dev ](https://profiles.wordpress.org/ctlt-dev/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/wp-experience-api/)