Changeset 11884 for trunk/src/bp-core/classes/class-bp-component.php
- Timestamp:
- 03/04/2018 11:17:29 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/classes/class-bp-component.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-component.php
r10825 r11884 395 395 396 396 /** 397 * Late includes method. 398 * 399 * Components should include files here only on specific pages using 400 * conditionals such as {@link bp_is_current_component()}. Intentionally left 401 * empty. 402 * 403 * @since 3.0.0 404 */ 405 public function late_includes() {} 406 407 /** 397 408 * Set up the actions. 398 409 * … … 414 425 // extending this base class. 415 426 add_action( 'bp_include', array( $this, 'includes' ), 8 ); 427 428 // Load files conditionally, based on certain pages. 429 add_action( 'bp_late_include', array( $this, 'late_includes' ) ); 416 430 417 431 // Setup navigation.
Note: See TracChangeset
for help on using the changeset viewer.