: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace NinjaForms\Includes\Admin;
* Configuration of what can be called and extended by NF_AJAX_REST_Controller
class RestControllerSafeList
const ALLOWED_METHOD_CALLS = [
'NF_AJAX_Controllers_Form' => [
'NF_AJAX_REST_Forms' => [
public static function isClassMethodAllowed(string $fqcn, string $method): bool
if(isset(self::ALLOWED_METHOD_CALLS[$fqcn])
&& in_array($method,self::ALLOWED_METHOD_CALLS[$fqcn])