/** * Return the delete link for the current notification. * * @since BuddyPress (1.9.0) */ function bp_get_the_notification_delete_link() { // Start the output buffer ob_start(); ?> <a href="<?php bp_the_notification_delete_url(); ?> " class="delete secondary confirm"><?php _e('Delete', 'buddypress'); ?> </a> <?php $retval = ob_get_clean(); /** * Filters the delete link for the current notification. * * @since BuddyPress (1.9.0) * * @param string $retval HTML for the delete link for the current notification. */ return apply_filters('bp_get_the_notification_delete_link', $retval); }
/** * Return the delete link for the current notification. * * @since BuddyPress (1.9.0) */ function bp_get_the_notification_delete_link() { // Start the output buffer ob_start(); ?> <a href="<?php bp_the_notification_delete_url(); ?> " class="delete secondary confirm"><?php _e('Delete', 'buddypress'); ?> </a> <?php $retval = ob_get_clean(); return apply_filters('bp_get_the_notification_delete_link', $retval); }