Change of the wallpaper using terminal in XFCE

How to change wallpaper in XFCE using the terminal? I also would like to change the lock screen wallpaper, but firstly the wallpaper is sufficient too.
I’ve found this code

dbus-send --session --dest=org.kde.plasmashell --type=method_call /PlasmaShell org.kde.PlasmaShell.evaluateScript 'string:
var Desktops = desktops();                                                                                                                       
for (i=0;i<Desktops.length;i++) {
        d = Desktops[i];
        d.wallpaperPlugin = "org.kde.image";
        d.currentConfigGroup = Array("Wallpaper",
        d.writeConfig("Image", "file:///PATH/TO/IMAGE.png");

But this doesn’t work, theoretically because it is only available for KDE.

You can install xorg-xwallpaper and use the below command to set wallpaper in any X based environment (some also prefer feh and nitrogen to do the same thing):

xwallpaper --zoom ~/path_to_wallpaper

I tried this, and also feh earlier, but still, it does not change the current wallpaper. Is there a need to refresh it, or restart the pc, or did I do something wrong?

First search result: