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/topics.php

    r7380 r7382  
    9292                add_action( 'load-post.php',     array( $this, 'new_help'  ) );
    9393                add_action( 'load-post-new.php', array( $this, 'new_help'  ) );
     94
     95                /** Dependencies ******************************************************/
     96
     97                // Allow plugins to modify these actions
     98                do_action_ref_array( 'bbp_admin_topics_loaded', array( &$this ) );
    9499        }
    95100
Note: See TracChangeset for help on using the changeset viewer.