I'm very sceptical about epigenetics being transferable to future generations. I will remain such till these studies can be duplicated beyond any doubt.
However I can see a process where some demethylation from stressed parent's DNA could be copied to offspring genome, causing some form of general nervousness in both.
I doubt that something more precise (precise knowledge) can be transferred this way.
It is inconceivable for me that a learned behaviour of parents could be written into DNA. It would mean that once brain is rewired (learn) and the change is positive (survive), the brain or other signaling medium would contact the right segment of DNA and change methylation only in this segment (out of millions of choices) in all cells, especially in new egg cells to be transferred to new generation.
It is also possible that frequent electric shocks could cause methylation problem. This could affect parent's sex cells and next generation being generally more nervous. The rest might be in the eye of scientists who want to validate their research a bit too hard.