fields as $id => $field ): $field[ 'id' ] = $id; ?>
get_html_dropdown_posts( $field );
break;
case 'dropdown-pages':
$this->get_html_dropdown_pages( $field );
break;
case 'dropdown-menus':
$this->get_html_dropdown_menus( $field );
break;
case 'dropdown-categories':
$this->get_html_dropdown_categories( $field );
break;
case 'text':
case 'number':
case 'email':
case 'file':
case 'url':
$this->get_html_text( $field );
break;
case 'select':
$this->get_html_select( $field );
break;
case 'radio':
$this->get_html_radio( $field );
break;
case 'checkbox':
$this->get_html_checkbox( $field );
break;
case 'textarea':
$this->get_html_textarea( $field );
break;
case 'description':
$this->get_html_description( $field );
break;
default:
echo esc_html__( 'Type Not Supported.', 'blogberg' );
break;
}
?>
'dropdown-categories-' . $this->get_field_id( $field[ 'id' ] ),
'echo' => 0,
'show_option_none' => esc_html__( '— Select —', 'blogberg' ),
'option_none_value' => '0',
'selected' => esc_html( $field[ 'current_value' ] ),
)
);
# Hackily add in the data link parameter.
$dropdown = str_replace( '