Historical Rules · 1 February 2013
Rule 509.4g
Official source text from the 1 February 2013 Rules release
An ability that reads "Whenever [this creature] attacks and isn't blocked, . . ." triggers if no creatures are declared as blockers for that creature. It won't trigger if the attacking creature is blocked and then all its blockers are removed from combat.