There are two kinds of expiration at WyndhamRewards:
The "soft" expiration after 18 months of no activity can be avoided (extended) by having activity, which includes earning of points which includes from spending on the credit card.
The "hard" expiration after 4 years (for each point from the date it's earned) has no way to be extended.