- Timestamp:
- 03/18/2018 09:56:44 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/groups/functions.php
r11855 r11899 3 3 * Groups functions 4 4 * 5 * @since 1.0.05 * @since 3.0.0 6 6 */ 7 7 … … 32 32 * Register Scripts for the Groups component 33 33 * 34 * @since 1.0.034 * @since 3.0.0 35 35 * 36 36 * @param array $scripts The array of scripts to register … … 54 54 * Enqueue the groups scripts 55 55 * 56 * @since 1.0.056 * @since 3.0.0 57 57 */ 58 58 function bp_nouveau_groups_enqueue_scripts() { … … 77 77 * Can all members be invited to join any group? 78 78 * 79 * @since 1.0.079 * @since 3.0.0 80 80 * 81 81 * @param bool $default False to allow. True to disallow. … … 87 87 * Filter to remove the All members nav, returning true 88 88 * 89 * @since 1.0.089 * @since 3.0.0 90 90 * 91 91 * @param bool $default True to disable the nav. False otherwise. … … 97 97 * Localize the strings needed for the Group's Invite UI 98 98 * 99 * @since 1.0.099 * @since 3.0.0 100 100 * 101 101 * @param array $params Associative array containing the JS Strings needed by scripts … … 143 143 144 144 /** 145 * @since 1.0.0145 * @since 3.0.0 146 146 */ 147 147 function bp_nouveau_groups_get_inviter_ids( $user_id, $group_id ) { … … 154 154 155 155 /** 156 * @since 1.0.0156 * @since 3.0.0 157 157 */ 158 158 function bp_nouveau_prepare_group_potential_invites_for_js( $user ) { … … 211 211 212 212 /** 213 * @since 1.0.0213 * @since 3.0.0 214 214 */ 215 215 function bp_nouveau_get_group_potential_invites( $args = array() ) { … … 264 264 265 265 /** 266 * @since 1.0.0266 * @since 3.0.0 267 267 * @todo I don't see any reason why to restrict group invites to friends.. 268 268 */ … … 284 284 285 285 /** 286 * @since 1.0.0286 * @since 3.0.0 287 287 */ 288 288 function bp_nouveau_group_setup_nav() { … … 321 321 322 322 /** 323 * @since 1.0.0323 * @since 3.0.0 324 324 */ 325 325 function bp_nouveau_groups_invites_custom_message( $message = '' ) { … … 346 346 * Format a Group for a json reply 347 347 * 348 * @since 1.0.0348 * @since 3.0.0 349 349 */ 350 350 function bp_nouveau_prepare_group_for_js( $item ) { … … 372 372 * Group invites restriction settings navigation. 373 373 * 374 * @since 1.0.0374 * @since 3.0.0 375 375 */ 376 376 function bp_nouveau_groups_invites_restriction_nav() { … … 397 397 * Group invites restriction settings Admin Bar navigation. 398 398 * 399 * @since 1.0.0399 * @since 3.0.0 400 400 * 401 401 * @param array $wp_admin_nav The list of settings admin subnav items. … … 421 421 * Group invites restriction screen. 422 422 * 423 * @since 1.0.0423 * @since 3.0.0 424 424 */ 425 425 function bp_nouveau_groups_screen_invites_restriction() { … … 452 452 * Filters the template to load for the Group Invites settings screen. 453 453 * 454 * @since 1.0.0454 * @since 3.0.0 455 455 * 456 456 * @param string $template Path to the Group Invites settings screen template to load. … … 460 460 461 461 /** 462 * @since 1.0.0462 * @since 3.0.0 463 463 */ 464 464 function bp_nouveau_get_groups_directory_nav_items() { … … 516 516 * Use this filter to introduce your custom nav items for the groups directory. 517 517 * 518 * @since 1.0.0518 * @since 3.0.0 519 519 * 520 520 * @param array $nav_items The list of the groups directory nav items. … … 526 526 * Get Dropdown filters for the groups component 527 527 * 528 * @since 1.0.0528 * @since 3.0.0 529 529 * 530 530 * @param string $context 'directory' or 'user' … … 548 548 * or 'bp_groups_directory_order_options' 549 549 * 550 * @since 1.0.0550 * @since 3.0.0 551 551 * 552 552 * @param array the members filters. … … 570 570 * Catch the arguments for buttons 571 571 * 572 * @since 1.0.0572 * @since 3.0.0 573 573 * 574 574 * @param array $button The arguments of the button that BuddyPress is about to create. … … 590 590 * Catch the content hooked to the 'bp_group_header_meta' action 591 591 * 592 * @since 1.0.0592 * @since 3.0.0 593 593 * 594 594 * @return string|bool HTML Output if hooked. False otherwise. … … 616 616 * Display the Widgets of Group extensions into the default front page? 617 617 * 618 * @since 1.0.0618 * @since 3.0.0 619 619 * 620 620 * @return bool True to display. False otherwise. … … 629 629 * Display description of the Group into the default front page? 630 630 * 631 * @since 1.0.0631 * @since 3.0.0 632 632 * 633 633 * @return bool True to display. False otherwise. … … 646 646 * Add sections to the customizer for the groups component. 647 647 * 648 * @since 1.0.0648 * @since 3.0.0 649 649 * 650 650 * @param array $sections the Customizer sections to add. … … 672 672 * Add settings to the customizer for the groups component. 673 673 * 674 * @since 1.0.0674 * @since 3.0.0 675 675 * 676 676 * @param array $settings the settings to add. … … 749 749 * Add controls for the settings of the customizer for the groups component. 750 750 * 751 * @since 1.0.0751 * @since 3.0.0 752 752 * 753 753 * @param array $controls the controls to add. … … 819 819 * Add the default group front template to the front template hierarchy. 820 820 * 821 * @since 1.0.0821 * @since 3.0.0 822 822 * 823 823 * @param array $templates The list of templates for the front.php template part. … … 848 848 * Locate a single group template into a specific hierarchy. 849 849 * 850 * @since 1.0.0850 * @since 3.0.0 851 851 * 852 852 * @param string $template The template part to get (eg: activity, members...). … … 901 901 * Load a single group template part 902 902 * 903 * @since 1.0.0903 * @since 3.0.0 904 904 * 905 905 * @param string $template The template part to get (eg: activity, members...). … … 931 931 * Are we inside the Current group's default front page sidebar? 932 932 * 933 * @since 1.0.0933 * @since 3.0.0 934 934 * 935 935 * @return bool True if in the group's home sidebar. False otherwise. … … 942 942 * Filter the Latest activities Widget to only keep the one of the group displayed 943 943 * 944 * @since 1.0.0944 * @since 3.0.0 945 945 * 946 946 * @param array $args The Activities Template arguments. … … 958 958 * Filter the Groups widget to only keep the displayed group. 959 959 * 960 * @since 1.0.0960 * @since 3.0.0 961 961 * 962 962 * @param array $args The Groups Template arguments. … … 973 973 * Filter the Members widgets to only keep members of the displayed group. 974 974 * 975 * @since 1.0.0975 * @since 3.0.0 976 976 * 977 977 * @param array $args The Members Template arguments. … … 994 994 * Init the Group's default front page filters as we're in the sidebar 995 995 * 996 * @since 1.0.0996 * @since 3.0.0 997 997 */ 998 998 function bp_nouveau_groups_add_home_widget_filters() { … … 1007 1007 * Remove the Group's default front page filters as we're no more in the sidebar 1008 1008 * 1009 * @since 1.0.01009 * @since 3.0.0 1010 1010 */ 1011 1011 function bp_nouveau_groups_remove_home_widget_filters() { … … 1020 1020 * Get the hook, nonce, and eventually a specific template for Core Group's create screens. 1021 1021 * 1022 * @since 1.0.01022 * @since 3.0.0 1023 1023 * 1024 1024 * @param string $id The screen id … … 1047 1047 * Get the hook and nonce for Core Group's manage screens. 1048 1048 * 1049 * @since 1.0.01049 * @since 3.0.0 1050 1050 * 1051 1051 * @param string $id The screen id … … 1076 1076 * Register notifications filters for the groups component. 1077 1077 * 1078 * @since 1.0.01078 * @since 3.0.0 1079 1079 */ 1080 1080 function bp_nouveau_groups_notification_filters() {
Note: See TracChangeset
for help on using the changeset viewer.