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,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Base Walker
|
||||
* Walkers must inherit this class and overwrite methods with its own.
|
||||
*/
|
||||
abstract class MASHSB_RWMB_Walker extends Walker
|
||||
{
|
||||
/**
|
||||
* Field data.
|
||||
*
|
||||
* @access public
|
||||
* @var array
|
||||
*/
|
||||
public $field;
|
||||
|
||||
/**
|
||||
* Meta data.
|
||||
*
|
||||
* @access public
|
||||
* @var array
|
||||
*/
|
||||
public $meta = array();
|
||||
|
||||
function __construct( $db_fields, $field, $meta )
|
||||
{
|
||||
$this->db_fields = wp_parse_args( (array) $db_fields, array(
|
||||
'parent' => '',
|
||||
'id' => '',
|
||||
'label' => '',
|
||||
) );
|
||||
$this->field = $field;
|
||||
$this->meta = (array) $meta;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user