Changes between Version 1 and Version 2 of Ticket #7445, comment 8
- Timestamp:
- 02/17/2017 05:41:59 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7445, comment 8
v1 v2 3 3 `add_action( bp_core_admin_hook(), 'xprofile_add_admin_menu' );` 4 4 5 `bp_core_admin_hook()` already does the network admin vs. single-site conditional logic , but it doesn't hurt to use `bp_get_admin_url()` if we wanted to.5 `bp_core_admin_hook()` already does the network admin vs. single-site conditional logic to hook into the correct admin context, but it doesn't hurt to use `bp_get_admin_url()` if we wanted to. 6 6