Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/16/2015 12:58:40 AM (10 years ago)
Author:
johnjamesjacoby
Message:

Templates: Add before & after hooks to user templates parts.

This changeset makes it easier to add custom text & HTML before & after user details.

Props netweb. Fixes #2537.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/templates/default/bbpress/content-single-user.php

    r5770 r5854  
    1414    <?php do_action( 'bbp_template_notices' ); ?>
    1515
     16    <?php do_action( 'bbp_template_before_user_wrapper' ); ?>
     17
    1618    <div id="bbp-user-wrapper">
    1719
     
    2729        </div>
    2830    </div>
     31
     32    <?php do_action( 'bbp_template_after_user_wrapper' ); ?>
     33
    2934</div>
Note: See TracChangeset for help on using the changeset viewer.