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.
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.
The dm_handle_actions function is the handler for the user/site mapping admin screen (under Tools in site admin).
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.
In that case, you should look at using the core URL mapping feature & see what hooks are available with it.