$statusCode ] ); } public function checkApiPermission() { return get_option( 'maanstore_purchase_code' ) === '1' || get_option( 'maanstore_purchase_code' ) === true; } }