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

    r7380 r7382  
    8787                        add_action( 'add_meta_boxes', array( $this, 'add_metaboxes' ) );
    8888                }
     89
     90                /** Dependencies ******************************************************/
     91
     92                // Allow plugins to modify these actions
     93                do_action_ref_array( 'bbp_extend_akismet_loaded', array( &$this ) );
    8994        }
    9095
Note: See TracChangeset for help on using the changeset viewer.