- Timestamp:
- 04/28/2018 01:32:52 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/functions.php
r11977 r12008 363 363 */ 364 364 function bp_nouveau_current_user_can( $capability = '' ) { 365 /** 366 * Filters whether or not the current user can perform an action for BuddyPress Nouveau. 367 * 368 * @since 3.0.0 369 * 370 * @param bool $value Whether or not the user is logged in. 371 * @param string $capability Current capability being checked. 372 * @param int $value Current logged in user ID. 373 */ 365 374 return apply_filters( 'bp_nouveau_current_user_can', is_user_logged_in(), $capability, bp_loggedin_user_id() ); 366 375 } … … 386 395 // Get the hook output. 387 396 ob_start(); 397 398 /** 399 * Fires at the start of the output for `bp_nouveau_parse_hooked_dir_nav()`. 400 * 401 * This hook is variable and depends on the hook parameter passed in. 402 * 403 * @since 3.0.0 404 */ 388 405 do_action( $hook ); 389 406 $output = ob_get_clean(); … … 452 469 453 470 ob_start(); 471 472 /** 473 * Fires at the start of the output for `bp_nouveau_parse_hooked_options()`. 474 * 475 * This hook is variable and depends on the hook parameter passed in. 476 * 477 * @since 3.0.0 478 */ 454 479 do_action( $hook ); 455 480 … … 881 906 function bp_nouveau_get_user_feedback( $feedback_id = '' ) { 882 907 /** 883 * Filter to add your custom feedback messages 908 * Filters the BuddyPress Nouveau feedback messages. 909 * 910 * Use this filter to add your custom feedback messages. 911 * 912 * @since 3.0.0 884 913 * 885 914 * @param array $value The list of feedback messages.
Note: See TracChangeset
for help on using the changeset viewer.