Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/21/2017 09:36:35 AM (7 years ago)
Author:
djpaul
Message:

Core: add template pack option to BuddyPress > Settings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-admin.php

    r11442 r11593  
    395395        add_settings_field( 'bp-disable-account-deletion', __( 'Account Deletion', 'buddypress' ), 'bp_admin_setting_callback_account_deletion', 'buddypress', 'bp_main' );
    396396        register_setting( 'buddypress', 'bp-disable-account-deletion', 'intval' );
     397
     398        // Template pack picker.
     399        add_settings_field( '_bp_theme_package_id', __( 'Template Pack', 'buddypress' ), 'bp_admin_setting_callback_theme_package_id', 'buddypress', 'bp_main' );
     400        register_setting( 'buddypress', '_bp_theme_package_id', 'sanitize_text_field' );
    397401
    398402        /* XProfile Section **************************************************/
Note: See TracChangeset for help on using the changeset viewer.