- 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/functions.php
r11855 r11899 3 3 * Common functions 4 4 * 5 * @since 1.0.05 * @since 3.0.0 6 6 */ 7 7 … … 22 22 * across page loads. 23 23 * 24 * @since 1.2.024 * @since 3.0.0 25 25 * 26 26 * @param string $query_string Query string for the current request. … … 139 139 * Filters the AJAX query string for the component loops. 140 140 * 141 * @since 1.0.0141 * @since 3.0.0 142 142 * 143 143 * @param string $query_string The query string we are working with. … … 153 153 154 154 /** 155 * @since 1.0.0155 * @since 3.0.0 156 156 * 157 157 * @return string … … 216 216 * Output HTML content into a wrapper. 217 217 * 218 * @since 1.0.0218 * @since 3.0.0 219 219 * 220 220 * @param array $args { … … 286 286 * Register the 2 sidebars for the Group & User default front page 287 287 * 288 * @since 1.0.0288 * @since 3.0.0 289 289 */ 290 290 function bp_nouveau_register_sidebars() { … … 349 349 350 350 /** 351 * @since 1.0.0351 * @since 3.0.0 352 352 * 353 353 * @return bool … … 358 358 359 359 /** 360 * @since 1.0.0360 * @since 3.0.0 361 361 * 362 362 * @return bool … … 369 369 * BP Nouveau will not use this hooks anymore 370 370 * 371 * @since 1.0.0371 * @since 3.0.0 372 372 * 373 373 * @return array the list of disused legacy hooks … … 605 605 * Parse an html output to a list of component's directory nav item. 606 606 * 607 * @since 1.0.0607 * @since 3.0.0 608 608 * 609 609 * @param string $hook The hook to fire. … … 675 675 * Run specific "select filter" hooks to catch the options and build an array out of them 676 676 * 677 * @since 1.0.0677 * @since 3.0.0 678 678 * 679 679 * @param string $hook … … 708 708 * Get Dropdawn filters for the current component of the one passed in params 709 709 * 710 * @since 1.0.0710 * @since 3.0.0 711 711 * 712 712 * @param string $context 'directory', 'user' or 'group' … … 769 769 * This is necessary when we need to get these very early. 770 770 * 771 * @since 1.0.0771 * @since 3.0.0 772 772 * 773 773 * @param string $option the index of the setting to get. … … 810 810 * Get the BP Nouveau Appearance settings. 811 811 * 812 * @since 1.0.0812 * @since 3.0.0 813 813 * 814 814 * @param string $option Leave empty to get all settings, specify a value for a specific one. … … 885 885 * or the list of corresponding css classes. 886 886 * 887 * @since 1.0.0887 * @since 3.0.0 888 888 * 889 889 * @param string $type 'option' to get the labels, 'classes' to get the classes … … 909 909 * Sanitize a list of slugs to save it as an array 910 910 * 911 * @since 1.0.0911 * @since 3.0.0 912 912 * 913 913 * @param string $option A comma separated list of nav items slugs. … … 923 923 * BP Nouveau's callback for the cover image feature. 924 924 * 925 * @since 1.0.0925 * @since 3.0.0 926 926 * 927 927 * @param array $params Optional. The current component's feature parameters. … … 1109 1109 * All user feedback messages are available here 1110 1110 * 1111 * @since 1.0.01111 * @since 3.0.0 1112 1112 * 1113 1113 * @param string $feedback_id The ID of the message. … … 1304 1304 * Filter here if you wish to edit the message just before being displayed 1305 1305 * 1306 * @since 1.0.01306 * @since 3.0.0 1307 1307 * 1308 1308 * @param array $feedback_messages … … 1314 1314 * Get the signup fields for the requested section 1315 1315 * 1316 * @since 1.0.01316 * @since 3.0.0 1317 1317 * 1318 1318 * @param string $section Optional. The section of fields to get 'account_details' or 'blog_details'. … … 1331 1331 * do_action( 'bp_account_details_fields' ) or do_action( 'blog_details' ) hooks instead. 1332 1332 * 1333 * @since 1.0.01333 * @since 3.0.0 1334 1334 * 1335 1335 * @param array $value The list of fields organized into sections. … … 1420 1420 * Get Some submit buttons data. 1421 1421 * 1422 * @since 1.0.01422 * @since 3.0.0 1423 1423 * 1424 1424 * @param string $action The action requested. … … 1435 1435 * Filter the Submit buttons to add your own. 1436 1436 * 1437 * @since 1.0.01437 * @since 3.0.0 1438 1438 * 1439 1439 * @param array $value The list of submit buttons. … … 1537 1537 * Reorder a BuddyPress item nav according to a given list of nav item slugs 1538 1538 * 1539 * @since 1.0.01539 * @since 3.0.0 1540 1540 * 1541 1541 * @param object $nav The BuddyPress Item Nav object to reorder
Note: See TracChangeset
for help on using the changeset viewer.