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