I have to adapt Codeigniter module to WordPress. It fetches data with SOAP protocol. It needs to use Codeigniter’s csrf_protection.

How to include Codeigniter MY_Controller class in WordPress?

class Balance extends MY_Controller

    public function __construct()

        $this->config->set_item('csrf_protection', TRUE);




Read more here: PHP- How to include Codeingiter class in WordPress


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: