In this rule

Historical Rules · 7 August 2020

Rule 506.4c

Official source text from the 7 August 2020 Rules release

Permalink

If a creature is attacking a planeswalker, removing that planeswalker from combat doesn’t remove that creature from combat. It continues to be an attacking creature, although it is attacking neither a player nor a planeswalker. It may be blocked. If it is unblocked, it will deal no combat damage.

Find this number in the current Rules