Skip to:
Content

BuddyPress.org

Changes between Version 1 and Version 2 of Ticket #7445, comment 8


Ignore:
Timestamp:
02/17/2017 05:41:59 PM (3 years ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7445, comment 8

    v1 v2  
    33`add_action( bp_core_admin_hook(), 'xprofile_add_admin_menu' );`
    44
    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.
    66