- Timestamp:
- 05/03/2018 04:29:34 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/activity/functions.php
r12008 r12048 500 500 } 501 501 } 502 503 /** 504 * Add controls for the settings of the customizer for the activity component. 505 * 506 * @since 3.0.0 507 * 508 * @param array $controls Optional. The controls to add. 509 * 510 * @return array the controls to add. 511 */ 512 function bp_nouveau_activity_customizer_controls( $controls = array() ) { 513 return array_merge( $controls, array( 514 'act_dir_layout' => array( 515 'label' => __( 'Use column navigation for the Activity directory.', 'buddypress' ), 516 'section' => 'bp_nouveau_dir_layout', 517 'settings' => 'bp_nouveau_appearance[activity_dir_layout]', 518 'type' => 'checkbox', 519 ), 520 'act_dir_tabs' => array( 521 'label' => __( 'Use tab styling for Activity directory navigation.', 'buddypress' ), 522 'section' => 'bp_nouveau_dir_layout', 523 'settings' => 'bp_nouveau_appearance[activity_dir_tabs]', 524 'type' => 'checkbox', 525 ), 526 ) ); 527 }
Note: See TracChangeset
for help on using the changeset viewer.