Understanding natural canine behavior is essential similarly to understanding gray wolf as an apex predatory species.
Hacking, as the proper definition, is not reserved only for programming and IT related security, where hacker should be a skilled person owning enough essential pro-technical knowledge to solve a specific problem.
Life hacking, for example, makes common life more easy, using shortcuts or tricks, not necessarily making use of pure technology.
The hacker mind-set is not confined to this software-hacker culture. There are people who apply the hacker attitude to other things, like electronics or music - actually, you can find it at the highest levels of any science or art.
citation borowed from Eric S. Raymond
In that context, canine hacking means understanding a dog by observing its behavior, considering emotional state, to solve potential behavioral problems, where a skilled dog behaviorist is a hacker.