Create a file called “gpauto” without any file extension in the root directory of your SD card. Open it as text file and add two lines inside:
your_gopro_wifi_password (replace this line with yours)
gpsend WM%01;
Save, power on the gopro, wait 10/20 seconds, reboot.
To turn this feature off, change the second line to gpsend WM%00;