PATH:
home
/
letacommog
/
aacote
/
wp-content
/
plugins
/
wp-job-manager
/
templates
/
form-fields
<?php /** * Shows `checkbox` form fields in a list from a list on job listing forms. * * This template can be overridden by copying it to yourtheme/job_manager/form-fields/term-checklist-field.php. * * @see https://wpjobmanager.com/document/template-overrides/ * @author Automattic * @package WP Job Manager * @category Template * @version 1.31.1 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } ?> <ul class="job-manager-term-checklist job-manager-term-checklist-<?php echo esc_attr( $key ); ?>"> <?php require_once( ABSPATH . '/wp-admin/includes/template.php' ); if ( empty( $field['default'] ) ) { $field['default'] = ''; } $args = array( 'descendants_and_self' => 0, 'selected_cats' => isset( $field['value'] ) ? $field['value'] : ( is_array( $field['default'] ) ? $field['default'] : array( $field['default'] ) ), 'popular_cats' => false, 'taxonomy' => $field['taxonomy'], 'checked_ontop' => false ); // $field['post_id'] needs to be passed via the args so we can get the existing terms. ob_start(); wp_terms_checklist( 0, $args ); $checklist = ob_get_clean(); echo str_replace( "disabled='disabled'", '', $checklist ); ?> </ul> <?php if ( ! empty( $field['description'] ) ) : ?><small class="description"><?php echo wp_kses_post( $field['description'] ); ?></small><?php endif; ?>
[+]
..
[-] file-field.php
[edit]
[-] wp-editor-field.php
[edit]
[-] select-field.php
[edit]
[-] uploaded-file-html.php
[edit]
[-] term-multiselect-field.php
[edit]
[-] multiselect-field.php
[edit]
[-] term-checklist-field.php
[edit]
[-] recaptcha-field.php
[edit]
[-] term-select-field.php
[edit]
[-] password-field.php
[edit]
[-] text-field.php
[edit]
[-] textarea-field.php
[edit]
[-] date-field.php
[edit]
[-] checkbox-field.php
[edit]
[-] radio-field.php
[edit]