Added a action hook.

Hooked into wordpress to make sure the ajax call works.

[branch: development]