Skip to:
Content

BuddyPress.org

Ticket #7249: 7249.1.patch

File 7249.1.patch, 917 bytes (added by dcavins, 3 years ago)

Add action hooks outside the group admin form.

  • src/bp-templates/bp-legacy/buddypress/groups/single/admin.php

    diff --git src/bp-templates/bp-legacy/buddypress/groups/single/admin.php src/bp-templates/bp-legacy/buddypress/groups/single/admin.php
    index af2a709..c4ccbb6 100644
     
    1313        </ul>
    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">
    1825
     
    5360        do_action( 'bp_after_group_admin_content' ); ?>
    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' ); ?>