Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/09/2016 02:34:50 PM (8 years ago)
Author:
dcavins
Message:

Group admin: Add action hooks outside of form.

Add an action hook before and after the group settings form in
groups/single/admin/php.

Fixes #7249.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/admin.php

    r11050 r11069  
    1414</div><!-- .item-list-tabs -->
    1515
     16<?php
     17/**
     18 * Fires before the group admin form and content.
     19 *
     20 * @since 2.7.0
     21 */
     22do_action( 'bp_before_group_admin_form' ); ?>
    1623
    1724<form action="<?php bp_group_admin_form_action(); ?>" name="group-settings-form" id="group-settings-form" class="standard-form" method="post" enctype="multipart/form-data">
     
    5461
    5562</form><!-- #group-settings-form -->
     63
     64<?php
     65/**
     66 * Fires after the group admin form and content.
     67 *
     68 * @since 2.7.0
     69 */
     70do_action( 'bp_after_group_admin_form' ); ?>
Note: See TracChangeset for help on using the changeset viewer.