How to manually put esp32 into AP mode

This was discussed in a recent thread;