Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/03/2013 06:54:05 AM (11 years ago)
Author:
johnjamesjacoby
Message:

Rewrite Rules:

Add sub-actions for registering rewrite tags, rules, and permalink structures. See #4954.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-dependency.php

    r6954 r7367  
    192192
    193193/**
     194 * Add the BuddyPress-specific rewrite rules
     195 *
     196 * @since BuddyPress (1.9)
     197 * @uses do_action() Calls 'bp_add_rewrite_rules'
     198 */
     199function bp_add_rewrite_rules() {
     200    do_action( 'bp_add_rewrite_rules' );
     201}
     202
     203/**
     204 * Add the BuddyPress-specific permalink structures
     205 *
     206 * @since BuddyPress (1.9)
     207 * @uses do_action() Calls 'bp_add_permastructs'
     208 */
     209function bp_add_permastructs() {
     210    do_action( 'bp_add_permastructs' );
     211}
     212
     213/**
    194214 * Piggy back action for BuddyPress sepecific theme actions before the theme has
    195215 * been setup and the theme's functions.php has loaded.
Note: See TracChangeset for help on using the changeset viewer.