nf_is_func_disabled
The Ninja Forms nf is func disabled function.
Description
nf_is_func_disabled( $function );
Parameters (1)
- 0. $function
- The function.
Usage
if ( !function_exists( 'nf_is_func_disabled' ) ) { require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/classes/step-processing.php'; } // The function. $function = null; // NOTICE! Understand what this does before running. $result = nf_is_func_disabled($function);
Defined (5)
The function is defined in the following location(s).
- /deprecated/classes/step-processing.php
- function nf_is_func_disabled($function)
- {
- $disabled = explode(', ', ini_get('disable_functions'));
- return in_array($function, $disabled);
- }
- /deprecated/includes/admin/upgrades/class-upgrade-handler.php
- function nf_is_func_disabled($function)
- {
- $disabled = explode(', ', ini_get('disable_functions'));
- return in_array($function, $disabled);
- }
- /deprecated/includes/admin/upgrades/upgrade-functions.php
- function nf_is_func_disabled($function)
- {
- $disabled = explode(', ', ini_get('disable_functions'));
- return in_array($function, $disabled);
- }
- /deprecated/includes/functions.php
- function nf_is_func_disabled($function)
- {
- $disabled = explode(', ', ini_get('disable_functions'));
- return in_array($function, $disabled);
- }
- /includes/deprecated.php
- function nf_is_func_disabled( $function ) {
- Ninja_Forms::deprecated_notice( 'nf_is_func_disabled', '3.0', 'WPN_Helper::is_func_disabled()', debug_backtrace() );
- return WPN_Helper::is_func_disabled( $function );
- }