PATH:
home
/
centosnipponia
/
public_html
/
nipponiacar
/
wp-content
/
plugins
/
ninja-forms
/
includes
/
Admin
<?php 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' => [ 'delete' ], 'NF_AJAX_REST_Forms' => [ 'delete' ] ]; public static function isClassMethodAllowed(string $fqcn, string $method): bool { $return = false; if(isset(self::ALLOWED_METHOD_CALLS[$fqcn]) && in_array($method,self::ALLOWED_METHOD_CALLS[$fqcn]) ){ $return = true; } return $return; } }
[+]
..
[+]
CPT
[+]
Menus
[+]
Metaboxes
[+]
Processes
[-] AddFormModal.php
[edit]
[-] AllFormsTable.php
[edit]
[-] FooterMessage.php
[edit]
[-] ManageUpdates.php
[edit]
[-] Notices.php
[edit]
[-] RestControllerSafeList.php
[edit]
[-] SlimPromo.php
[edit]
[-] SurveyPromo.php
[edit]
[-] UserDataRequests.php
[edit]
[-] VersionCompatibilityCheck.php
[edit]
[-] .htaccess.disabled
[edit]