Skip to:
Content
Pages
Categories
Search
Top
Bottom

can I remove a function that not loaded?

  • @imjscn

    Participant

    I want to load adminbar differently, so I removed the loading function by
    `remove_action( ‘bp_loaded’, ‘bp_core_load_admin_bar’ );`
    So, now the bp_adminbar_menus functions are not loaded.
    I am going to modify and load them in my_modified_bp_core_load_admin_bar
    My question is– since the bp_adminbar_menus are not loaded, can I modify them?

Viewing 1 replies (of 1 total)
  • @djpaul

    Keymaster

    You should never edit anything in core, changes will be lost on upgrades.

Viewing 1 replies (of 1 total)
  • The topic ‘can I remove a function that not loaded?’ is closed to new replies.
Skip to toolbar