Skip to:
Content

BuddyPress.org

Changeset 1458 for trunk/bp-wire.php


Ignore:
Timestamp:
04/30/2009 02:06:08 PM (17 years ago)
Author:
apeatling
Message:

Added filters to all bp_core_load_template() calls. Gives theme designers the ability to override template names, and define their own theme filenames and structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-wire.php

    r1416 r1458  
    6767function bp_wire_screen_latest() {
    6868        do_action( 'bp_wire_screen_latest' );
    69         bp_core_load_template( 'wire/latest' );
     69        bp_core_load_template( apply_filters( 'bp_wire_template_latest', 'wire/latest' ) );     
    7070}
    7171
Note: See TracChangeset for help on using the changeset viewer.