According to RAW? No.
The wording of the spell is:
If a plant creature is in the area, you can communicate with it as if
you shared a common language...
According to the description of Wild Shape in the PHB (p. 67):
"You can’t cast spells, and your ability to speak or take any action
that requires hands is limited to the capabilities of your beast
According to RAW, yes.
Other posts have established that magical abilities and spells (and conditions) that occur before wildshaping do in fact carry over to the wildshape.
Beyond that, the key wording is
If a plant creature is in the area, you can communicate with it as
if (emphasis mine) you shared a common language...
"As if" implies pretty ...
It safer than scouting yourself.
I’ve played a Druid and a Wizard. In both cases, I was often called upon to do some scouting. As a Druid, it often involved using Wild Shape to inconspicuously scout as a small creature. This can be dangerous if you are found out - it can lead to capture or even death if you find yourself in a fight away from your companions. ...
No Rule, Suppression Advised
Jeremy Crawford, lead rules designer for D&D points out that the books don't contain a rule about when a spell target becomes invalid, while not a spell I believe there is a similar hole in rules for targets of other features as well. His advice is that it is suppressed while the target is invalid, and returns if they become ...
A character can give a simple verbal command, such as “Attack” or
“Come,” as a free action, provided such a command is among the tricks
the animal has learned.
DMG on animal companions, 206 (emphasis mine)
So, if you want your animal companion to perform a certain trick you have to speak the appropriate command, like in this case „attack!“.
As a DM, I ...
This is about training
There is some trigger (or several) and related reaction. Generally, you may pick whatever trigger you want your companion to recognize as a command. There should be no need in words... untill your companion never seen you transmuted into a wolf.