Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/19/2025 08:02:00 PM (8 months ago)
Author:
johnjamesjacoby
Message:

General - Administration: add "loaded" hooks to admin classes.

This change allows third-party plugins access to various class objects after they are loaded, specifically their $this references in their related setup_actions() methods.

In trunk, for 2.7.

Fixes #3660.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/extend/buddypress/loader.php

    r7380 r7382  
    155155                // Setup the components
    156156                add_action( 'bp_init', array( $this, 'setup_components' ), 7 );
     157
     158                /** Dependencies ******************************************************/
     159
     160                // Allow plugins to modify these actions
     161                do_action_ref_array( 'bbp_extend_buddypress_loaded', array( &$this ) );
    157162
    158163                parent::setup_actions();
Note: See TracChangeset for help on using the changeset viewer.