RWMB_Password_Field

The Evolved RWMB Password Field class.

Defined (1)

The class is defined in the following location(s).

/meta-box/inc/fields/password.php  
  1. class RWMB_Password_Field 
  2. /** 
  3. * Get field HTML 
  4. * @param string $html 
  5. * @param mixed $meta 
  6. * @param array $field 
  7. * @return string 
  8. */ 
  9. static function html( $html, $meta, $field ) 
  10. $val = " value='{$meta}'"; 
  11. $name = "name='{$field['field_name']}'"; 
  12. $id = " id='{$field['id']}'"; 
  13. $html .= "<input type='password' class='rwmb-password'{$name}{$id}{$val} size='30' />"; 
  14.  
  15. return $html;