Import legacy nurinda.co.id website
This commit is contained in:
1 parent
3f59bb9038
commit
6e21646ac4
13389 files changed
+3246690
No files matched your search
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Custom HTML field class.
|
||||
*/
|
||||
class MASHSB_RWMB_Hidden_Data_Field extends MASHSB_RWMB_Field {
|
||||
|
||||
/**
|
||||
* Get field HTML
|
||||
*
|
||||
* @param mixed $meta
|
||||
* @param array $field
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
static function html( $meta, $field )
|
||||
{
|
||||
return sprintf(
|
||||
'<input type="hidden" class="rwmb-hidden" name="%s" id="%s" value="%s">',
|
||||
$field['field_name'],
|
||||
$field['id'],
|
||||
$field['std']
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user