/** * Output the URL used for marking a single notification as unread. * * Since this function directly outputs a URL, it is escaped. * * @since BuddyPress (2.1.0) * * @uses bp_get_the_notification_mark_unread_url() */ function bp_the_notification_mark_unread_url() { echo esc_url(bp_get_the_notification_mark_unread_url()); }
/** * Output the URL used for marking a single notification as unread. * * 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_mark_unread_url($user_id = 0) { echo esc_url(bp_get_the_notification_mark_unread_url($user_id)); }