bp_notifications_bulk_management_dropdown()
Output the dropdown for bulk management of notifications.
Description
Source
File: bp-notifications/bp-notifications-template.php
function bp_notifications_bulk_management_dropdown() { ?> <label class="bp-screen-reader-text" for="notification-select"><?php /* translators: accessibility text */ _e( 'Select Bulk Action', 'buddyboss' ); ?></label> <select name="notification_bulk_action" id="notification-select"> <option value="" selected="selected"><?php _e( 'Bulk Actions', 'buddyboss' ); ?></option> <?php if ( bp_is_current_action( 'unread' ) ) : ?> <option value="read"><?php _e( 'Mark read', 'buddyboss' ); ?></option> <?php elseif ( bp_is_current_action( 'read' ) ) : ?> <option value="unread"><?php _e( 'Mark unread', 'buddyboss' ); ?></option> <?php endif; ?> <option value="delete"><?php _e( 'Delete', 'buddyboss' ); ?></option> </select> <input type="submit" id="notification-bulk-manage" class="button action" value="<?php esc_attr_e( 'Apply', 'buddyboss' ); ?>"> <?php }
Changelog
Version | Description |
---|---|
BuddyPress 2.2.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.