Title: is dm_handle_actions obsolete?
Last modified: October 8, 2017

---

# is dm_handle_actions obsolete?

 *  [parmar84](https://wordpress.org/support/users/parmar84/)
 * (@parmar84)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/is-dm_handle_actions-obsolete/)
 * I’m trying to hook into the actions listed (`dm_handle_actions_add`, `dm_handle_actions_primary`
   etc.).
 * I’ve browsed the svn history and it looks as though `dm_handle_actions` may have
   been used previously and is now replaced by `dm_domains_admin` … which appears
   to perform the same queries.
    The issue being that dm_domains_admin does not 
   contain the `do_actions` that were present in the previous function.
 * Am I correct in my findings or am I doing something unexpected?
 * Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/is-dm_handle_actions-obsolete/#post-9581072)
 * dm_handle_actions_add seems to persist
 *     ```
       $ grep -inR dm_handle_actions_add ./ | grep -v readme
       .//0.5.1/domain_mapping.php:157:				do_action('dm_handle_actions_add', $domain);
       .//0.5.2/domain_mapping.php:310:				do_action('dm_handle_actions_add', $domain);
       .//0.5.3/domain_mapping.php:330:				do_action('dm_handle_actions_add', $domain);
       .//0.5.4/domain_mapping.php:358:				do_action('dm_handle_actions_add', $domain);
       .//0.5.4.1/domain_mapping.php:357:				do_action('dm_handle_actions_add', $domain);
       .//0.5.4.2/domain_mapping.php:360:				do_action('dm_handle_actions_add', $domain);
       .//0.5.4.3/domain_mapping.php:349:				do_action('dm_handle_actions_add', $domain);
       .//0.5.5/domain_mapping.php:383:				do_action('dm_handle_actions_add', $domain);
       .//0.5.5.1/domain_mapping.php:349:				do_action('dm_handle_actions_add', $domain);
       ```
   
    -  This reply was modified 8 years, 7 months ago by [Ron Rennick](https://wordpress.org/support/users/wpmuguru/).
 *  Thread Starter [parmar84](https://wordpress.org/support/users/parmar84/)
 * (@parmar84)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/is-dm_handle_actions-obsolete/#post-9581092)
 * It is present, and contains the actions I wish to use.
 * But whenever domains are mapped via the admin screen, the function `dm_domains_admin`
   is used… which appears to contain the same queries as `dm_handle_actions_add`.
 * So while it is present, is it actually in use?
 * Nothing is fired when I’m hooking into the actions in `dm_handle_actions_add`.
    -  This reply was modified 8 years, 7 months ago by [parmar84](https://wordpress.org/support/users/parmar84/).
 *  Plugin Author [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/is-dm_handle_actions-obsolete/#post-9588924)
 * The dm_handle_actions function is the handler for the user/site mapping admin
   screen (under Tools in site admin).
 *  Thread Starter [parmar84](https://wordpress.org/support/users/parmar84/)
 * (@parmar84)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/is-dm_handle_actions-obsolete/#post-9588962)
 * Aah ok.
 * Is there any reason the do_actions in that function are not in dm_domains_admin?
 * We manage all our domain mapping from network admin->settings->domains and could
   really do with some hooks here.
 *  Plugin Author [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/is-dm_handle_actions-obsolete/#post-9613756)
 * In that case, you should look at using the core URL mapping feature & see what
   hooks are available with it.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘is dm_handle_actions obsolete?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-mu-domain-mapping.svg)
 * [WordPress MU Domain Mapping](https://wordpress.org/plugins/wordpress-mu-domain-mapping/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-mu-domain-mapping/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/is-dm_handle_actions-obsolete/#post-9613756)
 * Status: not resolved