PHP Class RWMB_Checkbox_Field

Inheritance: extends RWMB_Input_Field
Show file Open project: rilwis/meta-box Class Usage Examples

Public Methods

Method Description
admin_enqueue_scripts ( ) Enqueue scripts and styles.
element_description ( array $field ) : string Do not show field description.
format_single_value ( array $field, string $value ) : string Format a single value for the helper functions.
html ( mixed $meta, array $field ) : string Get field HTML

Method Details

admin_enqueue_scripts() public static method

Enqueue scripts and styles.
public static admin_enqueue_scripts ( )

element_description() public static method

Do not show field description.
public static element_description ( array $field ) : string
$field array
return string

format_single_value() public static method

Format a single value for the helper functions.
public static format_single_value ( array $field, string $value ) : string
$field array Field parameter
$value string The value
return string

html() public static method

Get field HTML
public static html ( mixed $meta, array $field ) : string
$meta mixed
$field array
return string