Upload folder via GUI - inc

This commit is contained in:
Git Manager GUI
2026-04-13 18:52:46 +02:00
parent 9c47501712
commit 09ac38e9fa
31 changed files with 2058 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<?php
if (!defined('ABSPATH')) exit;
class WMF_Field_Divider extends WMF_Field_Base {
public $type='divider'; public $label='Trennlinie / Abschnitt'; public $icon='dashicons-minus'; public $category='layout';
public function render($field,$value='') { ?>
<div class="<?php echo esc_attr($this->wrapper_classes($field)); ?>"<?php echo $this->conditional_attrs($field); ?>>
<?php if(!empty($field['label'])): ?><h4 class="wmf-section-title"><?php echo esc_html($field['label']); ?></h4><?php else: ?><hr class="wmf-divider"><?php endif; ?>
<?php $this->render_description($field); ?>
</div><?php
}
public function validate($v,$f) { return true; }
public function sanitize($v,$f) { return ''; }
}