[buddypress-trac] [BuddyPress Trac] #6690: extend class-bp-xprofile-group.php with xprofile_group_after_group_description

buddypress-trac noreply at wordpress.org
Thu Oct 29 13:55:42 UTC 2015


#6690: extend class-bp-xprofile-group.php with
xprofile_group_after_group_description
----------------------------------+-----------------------------
 Reporter:  kmb@…                 |      Owner:
     Type:  enhancement           |     Status:  new
 Priority:  normal                |  Milestone:  Awaiting Review
Component:  Component - XProfile  |    Version:
 Severity:  normal                |   Keywords:
----------------------------------+-----------------------------
 Hi,

 like the one in #5674 I need an action within the main part - almost like
 xprofile_field_after_contentbox in class-bp-xprofile-field.php

 thanks in advance
 Klaus


 {{{
 +++ wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-
 group.php
 @@ -693,6 +693,9 @@ class BP_XProfile_Group {
 <textarea name="group_description" id="group_description" rows="8"
 cols="60"><?php echo esc_textarea( $this->description ); ?></textarea>
                                                                 </div>
                                                         </div>
 +                                                       <?php
 +                                                               do_action(
 'xprofile_group_after_group_description', $this );
 +                                                       ?>
                                                 </div><!-- #post-body-
 content -->

                                                 <div id="postbox-
 container-1" class="postbox-container">
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6690>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list