File "ConfigFields.php"

Full path: /home/satitravel/public_html/plugins/admin-menu-editor/includes/ajax-wrapper-v2/src/ConfigFields.php
File size: 711 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor &nnbsp; Back

<?php

namespace YahnisElsts\AjaxActionWrapper\v2;

abstract class ConfigFields {
	/**
	 * @var string
	 */
	protected $action;
	/**
	 * @var callable
	 */
	protected $callback;
	/**
	 * @var array<string, array>
	 */
	protected $params = [];
	/**
	 * @var callable|null
	 */
	protected $customParamParser = null;
	/**
	 * @var string|null
	 */
	protected $httpMethod = null;

	/**
	 * @var string|null
	 */
	protected $requiredCapability = null;
	/**
	 * @var bool
	 */
	protected $mustBeLoggedIn = false;
	/**
	 * @var bool
	 */
	protected $nonceCheckEnabled = true;
	/**
	 * @var callable|null
	 */
	protected $permissionCheckCallback = null;
	/**
	 * @var bool
	 */
	protected $jsAutoExposeEnabled = true;
}