bp_nouveau_notifications_bulk_management_dropdown()

Output the dropdown for bulk management of notifications.

Description

Source

File: bp-templates/bp-nouveau/includes/notifications/template-tags.php

97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
function bp_nouveau_notifications_bulk_management_dropdown() {
?>
 
    <div class="select-wrap">
 
        <label class="bp-screen-reader-text" for="notification-select"><?php
            esc_html_e( 'Select Bulk Action', 'buddyboss' );
        ?></label>
 
        <select name="notification_bulk_action" id="notification-select">
            <option value="" selected="selected"><?php esc_html_e( 'Bulk Actions', 'buddyboss' ); ?></option>
 
            <?php if ( bp_is_current_action( 'unread' ) ) : ?>
                <option value="read"><?php esc_html_e( 'Mark read', 'buddyboss' ); ?></option>
            <?php elseif ( bp_is_current_action( 'read' ) ) : ?>
                <option value="unread"><?php esc_html_e( 'Mark unread', 'buddyboss' ); ?></option>
            <?php endif; ?>
            <option value="delete"><?php esc_html_e( 'Delete', 'buddyboss' ); ?></option>
        </select>
 
        <span class="select-arrow"></span>
 
    </div><!-- // .select-wrap -->
 
    <input type="submit" id="notification-bulk-manage" class="button action" value="<?php esc_attr_e( 'Apply', 'buddyboss' ); ?>">
    <?php
}

Changelog

Changelog
Version Description
BuddyPress 3.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.