RWMB_Field::the_value PHP Method

the_value() public static method

Note: we don't echo the field value directly. We return the output HTML of field, which will be used in rwmb_the_field function later.
See also: rwmb_the_value()
public static the_value ( array $field, array $args = [], integer | null $post_id = null ) : string
$field array Field parameters
$args array Additional arguments. Rarely used. See specific fields for details
$post_id integer | null Post ID. null for current post. Optional.
return string HTML output of the field
	public static function the_value( $field, $args = array(), $post_id = null ) {
		$value = self::call( 'get_value', $field, $args, $post_id );
		return self::call( 'format_value', $field, $value );
	}