For AIP cookies you can use tigernut flour and tigernut butter in place of the nut flour/butter.
If you are following a SIBO Specific Carbohydrate Diet (SCD) then you will need to omit the bicarbonate of soda and use honey instead of maple syrup. I would suggest only using 2 tablespoons as honey is quite sweet.
For Whole30 omit the maple syrup and add 2 extra tablespoons of coconut milk.
For Ketogenic/ Low Carb substitute the maple syrup with erythritol and add 2 tablespoons of extra coconut milk.