PluginProbe ʕ •ᴥ•ʔ
VikAppointments Services Booking Calendar / 1.2.21
VikAppointments Services Booking Calendar v1.2.21
1.2.21 1.2.20 trunk 1.2.17 1.2.18 1.2.19
vikappointments / site / helpers / libraries / customfields / control.php
vikappointments / site / helpers / libraries / customfields Last commit date
rules 3 days ago types 3 days ago control.php 3 days ago emptyloader.php 3 days ago factory.php 3 days ago field.php 3 days ago index.html 3 days ago loader.php 3 days ago renderer.php 3 days ago requestor.php 3 days ago rule.php 3 days ago
control.php
31 lines
1 <?php
2 /**
3 * @package VikAppointments
4 * @subpackage core
5 * @author E4J s.r.l.
6 * @copyright Copyright (C) 2021 E4J s.r.l. All Rights Reserved.
7 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
8 * @link https://vikwp.com
9 */
10
11 // No direct access
12 defined('ABSPATH') or die('No script kiddies please!');
13
14 /**
15 * VikAppointments custom field control interface.
16 *
17 * @since 1.7
18 */
19 interface VAPCustomFieldControl
20 {
21 /**
22 * Returns the HTML of the field.
23 *
24 * @param array $data An array of display data.
25 * @param string $input The HTML of the input to wrap.
26 *
27 * @return string The HTML of the input.
28 */
29 public function render($data, $input = null);
30 }
31