Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
According to the documentation, the hooks for declaring tokens have changed in D7:
http://drupal.org/documentation/modules/token/update/6/7
so neither one of these hooks is being called.
I would roll a patch, but I think the issue of adding these hooks through hook_init() could be revisited, as mentioned in this issue
http://drupal.org/node/877190
Comments
Comment #1
ckng#877190: hook_init() issue is no longer relevant.
Please go ahead and create patch for token support in D7.