Provided they can be proved, eg they are properly documented, all PPL training hours can be used towards the requirement for PPL issue.
Note this seems likely to be a non-issue in your case as the PPL is not a 45 hour course; it is a a course which requires a minimum of 45 Hours flight experience and most people, particularly if they take breaks in training, will require 50-60 hours to reach Test standard.