wpscan --url http://$IP --enumerate ap,u,t

Enumerate WordPress plugins, users, and themes.

Command: Linux

References:

https://github.com/wpscanteam/wpscan