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

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -