mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 22:54:03 +09:00
Add notice element to a select field
This commit is contained in:
@@ -3056,10 +3056,13 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
|||||||
$output .= '</div>';
|
$output .= '</div>';
|
||||||
|
|
||||||
|
|
||||||
if ( $this->is_error( $form_key ) ) {
|
if ( $this->is_error( $form_key) ) {
|
||||||
$output .= $this->field_error( $this->show_error( $form_key ) );
|
$output .= $this->field_error( $this->show_error( $form_key) );
|
||||||
|
}else if ( $this->is_notice( $form_key) ) {
|
||||||
|
$output .= $this->field_notice( $this->show_notice( $form_key) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$output .= '</div>';
|
$output .= '</div>';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user