wpDiscuz 7 API Documentation

  1. Home
  2. Docs
  3. wpDiscuz 7 API Documentation
  4. Filters
  5. wpdiscuz_user_info_and_logout_link
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

wpdiscuz_user_info_and_logout_link

This filter can be used for changing either the “You are logged in” phrase or the link of the phrase

Changelog

Added in version 7.0.0

Parameters

1. $logout_text (type: string) – the “You are logged in” phrase

Usage

add_filter("wpdiscuz_user_info_and_logout_link", function ($logout_text) {
    return "custom_link";
});

Was this article helpful to you? Yes No