Is there something like etoolbox's \appto, that also works for \chapter and \addchap?
edit: I intend to use it to re-enable page numbering (which may or may not be disabled using \renewcommand\thepage{}) after each chapter's first page, but if page numbering is already enabled the chapter's first page should also be numbered.
edit2: I am tryng to create a command, that disables page numbering until next chapter, including the first page of next chapter. I was going to do this by using \renewcommand\thepage{} at first and adding some code to \chapter that checks if page numbering has been disabled (using a toggle) and if it is sets chapter's first page's style to plain and re-enables page numbering.

plain) for these pages. – lockstep Jul 31 '11 at 15:18