RWMB_Select_Field::get_select_all_html PHP Method

get_select_all_html() public static method

Get html for select all|none for multiple select
public static get_select_all_html ( array $field ) : string
$field array
return string
    public static function get_select_all_html($field)
    {
        if ($field['multiple'] && $field['select_all_none']) {
            return '<div class="rwmb-select-all-none">' . __('Select', 'meta-box') . ': <a data-type="all" href="#">' . __('All', 'meta-box') . '</a> | <a data-type="none" href="#">' . __('None', 'meta-box') . '</a></div>';
        }
        return '';
    }