Changeset 9312
- Timestamp:
- 01/08/2015 01:19:50 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-component.php
r8610 r9312 357 357 add_action( 'bp_setup_title', array( $this, 'setup_title' ), 10 ); 358 358 359 // Setup cache groups 360 add_action( 'bp_setup_cache_groups', array( $this, 'setup_cache_groups' ), 10 ); 361 359 362 // Register post types 360 363 add_action( 'bp_register_post_types', array( $this, 'register_post_types' ), 10 ); … … 472 475 * @since BuddyPress (1.5.0) 473 476 * 474 * @uses do_action() Calls 'bp_{@link bp_Component::name} setup_title'.477 * @uses do_action() Calls 'bp_{@link bp_Component::name}_setup_title'. 475 478 */ 476 479 public function setup_title() { 477 480 do_action( 'bp_' . $this->id . '_setup_title' ); 481 } 482 483 /** 484 * Setup component-specific cache groups. 485 * 486 * @since BuddyPress (2.2.0) 487 * 488 * @uses do_action() Calls 'bp_setup_{@link bp_Component::name}_cache_groups'. 489 */ 490 public function setup_cache_groups() { 491 do_action( 'bp_' . $this->id . '_setup_cache_groups' ); 478 492 } 479 493
Note: See TracChangeset
for help on using the changeset viewer.