bp_feed_settings_callback_platform( $args )
Allow Platform default activity feed setting field
Description
Parameters
- $args
-
(Required) array
Source
File: bp-core/admin/bp-core-admin-settings.php
function bp_feed_settings_callback_platform( $args ) { $option_name = $args['activity_name']; ?> <input name="<?php echo esc_attr( 'bp-feed-platform-'.$option_name ); ?>" id="<?php echo esc_attr( $option_name ); ?>" type="checkbox" value="1" <?php checked( bp_platform_is_feed_enable( 'bp-feed-platform-'.$option_name, true ) ); ?>/> <label for="<?php echo esc_attr( $option_name ); ?>"><?php echo esc_html( $args['activity_label'], 'buddyboss' ); ?></label> <?php }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.