It’s not the first time President Donald Trump has threatened to withhold federal funding for local politicians, particularly those in blue states.