| | |
| | | // Helper Methods |
| | | // ───────────────────────────────────────────────────────────── |
| | | |
| | | protected static function fieldWrap(string $name, string $content, array $config): string |
| | | public static function fieldWrap(string $name, string $content, array $config): string |
| | | { |
| | | $classes = static::buildClasses($config); |
| | | $datasets = static::buildDatasets($config); |
| | |
| | | <p class="description">You can unselect items by clicking the image here.</p> |
| | | <p class="hint"><strong>IMPORTANT: </strong> Whatever changes you make here will be applied to all selected <?=$this->plural?>.</p> |
| | | <div class="fields"> |
| | | <div class="field-group radio-options row"> |
| | | <?php |
| | | $this->getApplicableStatuses('bulk-'); |
| | | ?> |
| | | </div> |
| | | <?php |
| | | if (!empty($this->taxonomies)) { |
| | | ?> |
| | |
| | | <?php |
| | | } |
| | | $out = ob_get_clean(); |
| | | echo Form::buildInput($out); |
| | | echo Form::fieldWrap('post_status', $out, ['type'=>'group']); |
| | | } |
| | | } |