Hf_Tokens::plugin_active( bool $status, string $plugin )
Only load this integration and its triggers and actions if the related plugin is active
Contents
Parameters Parameters
- $status
-
(Required) status of plugin.
- $plugin
-
(Required) plugin code.
Return Return
(bool)
Source Source
File: src/integrations/happyforms/tokens/hf-tokens.php
public function plugin_active( $status, $plugin ) { if ( self::$integration === $plugin ) { if ( class_exists( 'FrmHooksController' ) ) { $status = true; } else { $status = false; } } return $status; }
Expand full source code Collapse full source code View on Github