[ 'Others' => [ '10' => [ 'use_admin_ajax' => [ 'label' => 'Use admin-ajax.php instead of wp-json.', 'type' => 'bool', 'default' => false, ], 'get_nonce_check_referer' => [ 'label' => 'Whether to check referer when get nonce.', 'type' => 'bool', 'default' => true, ], 'check_referer_host' => [ 'label' => 'Server host name which used to check referer host name.', 'default' => function ( $app ) { /** @var WP_Framework $app */ return $app->input->server( 'HTTP_HOST', '' ); }, ], ], ], ], ];