I see three likely possibilities. On the one hand, the S-A War, as already mentioned, does not take place. The Philippines declares independence without much fanfare and proceeds to establish ties to Latin America. This would help foster the survival and expansion of Spanish into the Filipino consciousness.
Another version of this would have Spanish colonial rule be more effective earlier. By the time Madrid payed considerable attention to the islands IOTL, the damage was already done (and ongoing), along with an increasingly bitter population swaying to nationalist sentiments. Had the colonial authorities been more competent (as weird as it sounds), GOMBURZA never occurs, Rizal would be more favorable to the Crown, and the Spanish keep control at least for a few decades longer.
On the other hand, if the Americans still take over, they adopt a Cuba-solution to the country. Spanish is maintained as an official language, though American tycoons get all the power.