| 开发者 | jotcast |
|---|---|
| 更新时间 | 2026年5月26日 22:25 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
jotcast_user_is_member filter hook to define your own membership criteria. Works with any membership plugin including Groups, MemberPress, Paid Memberships Pro, WooCommerce Memberships, and custom solutions.jotcast_user_is_member filter. Add this to your theme's functions.php or a custom plugin:
add_filter('jotcast_user_is_member', function($is_member, $user) { // Your custom membership check here // Return true if the user is a paying member, false otherwise return $is_member; }, 10, 2);
The result is included in the SSO token, and you can mark individual chats as "Members Only" in JotCast's chat creation form.
Requirements:
jotcast-live-chats folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen.No. Users are authenticated through WordPress — they don't need to create a separate JotCast account. Their WordPress display name is used in the chat.
Yes. The plugin provides a jotcast_user_is_member filter hook that you can use to integrate with any membership plugin, including Groups, MemberPress, Paid Memberships Pro, WooCommerce Memberships, or your own custom membership system.
It depends on your Chat Visibility setting. If set to "Everyone," non-logged-in users will see the chat in guest mode. If set to any other option, the chat embed will be replaced with a message indicating that the chat is available to members only.
Yes. User data is encrypted using AES-256-CBC before being transmitted. The encryption key is exchanged between WordPress and JotCast using a secure, server-to-server token exchange with short-lived, single-use authorization codes.
Yes. Define your membership criteria using the jotcast_user_is_member filter hook, then enable "Members Only" on individual chats in the JotCast chat creation form.
The plugin can be activated on individual sites within a Multisite network. The SSO connection is shared across all sites in the network — you only need to connect once. Chat visibility settings can be configured independently on each site.
jotcast_user_is_member filter hook.