<?php

/**
 * Class SiteOrigin_Widget_Field_Posts
 */
class SiteOrigin_Widget_Field_Posts extends SiteOrigin_Widget_Field_Base {

	protected function render_field( $value, $instance ) {
		siteorigin_widget_post_selector_admin_form_field( is_array( $value ) ? '' : $value, $this->element_name );
	}

	protected function sanitize_field_input( $value ) {
		// Posts selector functions handle sanitization.
		return $value;
	}

}