/** * Output the URL used for deleting a single notification. * * Since this function directly outputs a URL, it is escaped. * * @since BuddyPress (2.1.0) * * @uses esc_url() * @uses bp_get_the_notification_delete_url() */ function bp_the_notification_delete_url() { echo esc_url(bp_get_the_notification_delete_url()); }
/** * Output the URL used for deleting a single notification. * * Since this function directly outputs a URL, it is escaped. * * @since 2.1.0 * @since 2.6.0 Added $user_id as a parameter. * * @param int $user_id The user ID. */ function bp_the_notification_delete_url($user_id = 0) { echo esc_url(bp_get_the_notification_delete_url($user_id)); }