The World Bank said on Monday it plans to buy carbon credits from pig farms in the Philippines, helping farmers generate extra income by setting up environment friendly waste treatment facilities.