Tasks management for WordPress through custom API