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/admin/classes/class-bbp-converter.php

    r7380 r7382  
    152152                // Attach to the admin ajax request to process cycles
    153153                add_action( 'wp_ajax_bbp_converter_process', array( $this, 'process_callback' ) );
     154
     155                /** Dependencies ******************************************************/
     156
     157                // Allow plugins to modify these actions
     158                do_action_ref_array( 'bbp_admin_converter_loaded', array( &$this ) );
    154159        }
    155160
Note: See TracChangeset for help on using the changeset viewer.