Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 14 years ago

#728 closed enhancement (fixed)

bp needs a bp-custom-after.php

Reported by: burtadsit's profile burtadsit Owned by:
Milestone: 1.5 Priority: major
Severity: Version: 1.0
Component: Core Keywords:
Cc:

Description

It would make life easier if bp had a bp-custom-after.php that was loaded, if it existed, *after* bp fully loads. That would allow a natural syntax for action and filter alteration. Now we have to wrap all action/filter mods in a function that gets triggered on 'wp' or some other post plugin load event.

Change History (4)

#1 @lancewillett
15 years ago

+ 1

My method pre-RC1 was to have two files: "bp-custom" and "bp-custom-after" so that I could have post-loading functions. But, the drag was that I had to add a few lines to "bp-core.php" in order to load my "bp-custom-after" file.

Now, with 1.0, I removed both of those files and just have them together in a "bp-customizations" file that I activate as a separate plugin.

#2 @(none)
15 years ago

  • Milestone Core 1.1 deleted

Milestone Core 1.1 deleted

#3 @cnorris23
14 years ago

  • Component set to Core
  • Milestone set to 1.3

@burtadsit
BP 1.2 added the 'bp_init' hook that runs after BP is loaded. Does this go what you need?

#4 @johnjamesjacoby
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Yes it does. :)

Note: See TracTickets for help on using tickets.