Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/17/2011 06:57:34 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Normalize bbp-includes directory. Mostly documentation fixes. Introduce bbp-shortcodes placeholder.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-options.php

    r2790 r2812  
    2424    $options = array (
    2525
    26         /** SETTINGS **********************************************************/
     26        /** Settings **********************************************************/
    2727
    2828        // Lock post editing after 5 minutes
     
    4747        '_bbp_replies_per_page'     => '15',
    4848
    49         /** SLUGS *************************************************************/
     49        /** Slugs *************************************************************/
    5050
    5151        // Root slug
     
    9494 */
    9595function bbp_is_favorites_active() {
    96     return (bool) get_option( '_bbp_enable_favorites', true );
     96    return apply_filters( 'bbp_is_favorites_active', (bool) get_option( '_bbp_enable_favorites', true ) );
    9797}
    9898
     
    106106 */
    107107function bbp_is_subscriptions_active() {
    108     return (bool) get_option( '_bbp_enable_subscriptions' );
     108    return apply_filters( 'bbp_is_subscriptions_active', (bool) get_option( '_bbp_enable_subscriptions' ) );
    109109}
    110110
Note: See TracChangeset for help on using the changeset viewer.