/** * Returns a string for the active notice. * * Since 1.6 this function has been deprecated in favor of text in the * theme. * * @since 1.0.0 * @deprecated 1.6.0 * @uses bp_messages_is_active_notice() */ function bp_get_message_is_active_notice() { $string = bp_messages_is_active_notice() ? __('Currently Active', 'buddypress') : ''; return apply_filters('bp_get_message_is_active_notice', $string); }
<strong><?php bp_message_notice_subject(); ?> </strong> <?php bp_message_notice_text(); ?> </td> <td width="21%"> <?php if (bp_messages_is_active_notice()) { ?> <strong><?php bp_messages_is_active_notice(); ?> </strong> <?php } ?> <span class="activity"><?php _e('Sent:', 'buddypress'); ?> <?php bp_message_notice_post_date(); ?> </span> </td>