Filter: jb_module_can_activate

apply_filters( 'jb_module_can_activate', $can_activate, $slug ) → {bool}

Filters the marker to check if the module can be activated.

Parameters:
Name Type Description
$can_activate bool

Marker for checking if module can be activated. It's true by default.

$slug string

Module slug.

Since:
  • 1.2.2
Source:
Returns:

true if a module can be activated.

Type
bool