use codeigniter in wordpress code example
Example: CodeIgniter + WordPress integration
@require '../wp-load.php';
require_once BASEPATH.'core/CodeIgniter.php';
@require '../wp-load.php';
require_once BASEPATH.'core/CodeIgniter.php';