spellbook_support_chat_enabled

  1. Description
  2. Usage
  3. Parameters
  4. Examples
    1. Disable the support chat widget
  5. Since

Description

Filter whether the support chat widget is enabled on the Spellbook admin page.

Usage

Applied globally

add_filter( 'spellbook_support_chat_enabled', 'my_custom_function' );

Parameters

$enabled bool

Whether the support chat is enabled. Default true.

Examples

Disable the support chat widget

add_filter( 'spellbook_support_chat_enabled', '__return_false' );

Since

  • 3.0.27 Hook added.