Linux vacca.o2switch.net 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
/
proc
/
self
/
cwd
/
wp-content
/
plugins
/
kirki
/
field
/
//proc/self/cwd/wp-content/plugins/kirki/field/class-kirki-field-custom.php
<?php /** * Override field methods * * @package Kirki * @subpackage Controls * @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath) * @license https://opensource.org/licenses/MIT * @since 2.2.7 */ /** * Field overrides. */ class Kirki_Field_Custom extends Kirki_Field { /** * Sets the control type. * * @access protected */ protected function set_type() { $this->type = 'kirki-custom'; } /** * Sets the $sanitize_callback * * @access protected */ protected function set_sanitize_callback() { // If a custom sanitize_callback has been defined, // then we don't need to proceed any further. if ( ! empty( $this->sanitize_callback ) ) { return; } // Custom fields don't actually save any value. // just use __return_true. $this->sanitize_callback = '__return_true'; } }