wordpress - A form is displaying as filled in, instead of blank, using PHP -
i using add on wordpress , appears php code somehow calling admin e-mail autofill form supposed show blank.
unfortunately me, php way on head , don't want break everything.
<div class="form-group"> <label for="stc-email"><?php _e( 'e-mail address: ', 'stc_textdomain' ); ?></label> <input type="text" id="stc-email" class="form-control" name="stc_email" value="<?php echo !empty( $email ) ? $email : null; ?>"/> </div>
i want form blank, it's autofilling admin e-mail on wordpress account. i've targeted line of code, think has bit:
value="<?php echo !empty( $email ) ? $email : null; ?>"/>
but don't think
!empty
is working, nor null, out please?
Comments
Post a Comment