0, 'max' => 10, 'step' => 1 ); $args = wp_parse_args( $args, $defaults ); $this->min = $args['min']; $this->max = $args['max']; $this->step = $args['step']; } public function render_content() { ?> start_content ) ) { echo esc_html( $this->start_content ); } if ( isset( $this->label ) ) { echo '' . wp_kses_post( $this->label ) . ''; } if ( isset( $this->content ) ) { echo wp_kses_post( $this->content ); } if ( isset( $this->description ) ) { echo '' . esc_html( $this->description ) . ''; } if ( isset( $this->end_content ) ) { echo esc_html( $this->end_content ); } } } }