- 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/activity/template-tags.php
r11855 r11899 3 3 * Activity Template tags 4 4 * 5 * @since 1.0.05 * @since 3.0.0 6 6 */ 7 7 … … 12 12 * Before Activity's directory content legacy do_action hooks wrapper 13 13 * 14 * @since 1.0.014 * @since 3.0.0 15 15 */ 16 16 function bp_nouveau_before_activity_directory_content() { … … 33 33 * After Activity's directory content legacy do_action hooks wrapper 34 34 * 35 * @since 1.0.035 * @since 3.0.0 36 36 */ 37 37 function bp_nouveau_after_activity_directory_content() { … … 66 66 * Enqueue needed scripts for the Activity Post Form 67 67 * 68 * @since 1.0.068 * @since 3.0.0 69 69 */ 70 70 function bp_nouveau_before_activity_post_form() { … … 84 84 * Load JS Templates for the Activity Post Form 85 85 * 86 * @since 1.0.086 * @since 3.0.0 87 87 */ 88 88 function bp_nouveau_after_activity_post_form() { … … 102 102 * Display the displayed user activity post form if needed 103 103 * 104 * @since 1.0.0104 * @since 3.0.0 105 105 * 106 106 * @return string HTML. … … 130 130 * Fire specific hooks into the activity entry template 131 131 * 132 * @since 1.0.0132 * @since 3.0.0 133 133 * 134 134 * @param string $when Optional. Either 'before' or 'after'. … … 155 155 * Checks if an activity of the loop has some content. 156 156 * 157 * @since 1.0.0157 * @since 3.0.0 158 158 * 159 159 * @return bool True if the activity has some content. False Otherwise. … … 166 166 * Output the Activity content into the loop. 167 167 * 168 * @since 1.0.0168 * @since 3.0.0 169 169 */ 170 170 function bp_nouveau_activity_content() { … … 184 184 * Output the action buttons inside an Activity Loop. 185 185 * 186 * @since 1.0.0186 * @since 3.0.0 187 187 * 188 188 * @param array $args See bp_nouveau_wrapper() for the description of parameters. … … 218 218 * 219 219 * @todo This function is too large and needs refactoring and reviewing. 220 * @since 1.0.0220 * @since 3.0.0 221 221 */ 222 222 function bp_nouveau_get_activity_entry_buttons( $args ) { … … 497 497 * Filter to add your buttons, use the position argument to choose where to insert it. 498 498 * 499 * @since 1.0.0499 * @since 3.0.0 500 500 * 501 501 * @param array $buttons The list of buttons. … … 542 542 * Leave a chance to adjust the $return 543 543 * 544 * @since 1.0.0544 * @since 3.0.0 545 545 * 546 546 * @param array $return The list of buttons ordered. … … 555 555 * Output Activity Comments if any 556 556 * 557 * @since 1.0.0557 * @since 3.0.0 558 558 */ 559 559 function bp_nouveau_activity_comments() { … … 572 572 * Note: This is an adaptation of the bp_activity_recurse_comments() BuddyPress core function 573 573 * 574 * @since 1.0.0574 * @since 3.0.0 575 575 * 576 576 * @param object $comment The activity object currently being recursed. … … 629 629 * Ouptut the Activity comment action string 630 630 * 631 * @since 1.0.0631 * @since 3.0.0 632 632 */ 633 633 function bp_nouveau_activity_comment_action() { … … 638 638 * Get the Activity comment action string 639 639 * 640 * @since 1.0.0640 * @since 3.0.0 641 641 */ 642 642 function bp_nouveau_get_activity_comment_action() { … … 645 645 * Filter to edit the activity comment action. 646 646 * 647 * @since 1.0.0647 * @since 3.0.0 648 648 * 649 649 * @param string $value HTML Output … … 664 664 * Load the Activity comment form 665 665 * 666 * @since 1.0.0666 * @since 3.0.0 667 667 */ 668 668 function bp_nouveau_activity_comment_form() { … … 680 680 * Output the action buttons for the activity comments 681 681 * 682 * @since 1.0.0682 * @since 3.0.0 683 683 * 684 684 * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters. … … 711 711 * Get the action buttons for the activity comments 712 712 * 713 * @since 1.0.0713 * @since 3.0.0 714 714 * 715 715 * @param array $args Optional. See bp_nouveau_wrapper() for the description of parameters. … … 832 832 * Filter to add your buttons, use the position argument to choose where to insert it. 833 833 * 834 * @since 1.0.0834 * @since 3.0.0 835 835 * 836 836 * @param array $buttons The list of buttons. … … 884 884 * Leave a chance to adjust the $return 885 885 * 886 * @since 1.0.0886 * @since 3.0.0 887 887 * 888 888 * @param array $return The list of buttons ordered.
Note: See TracChangeset
for help on using the changeset viewer.