<?php
/**
 * @var $label
 * @var $value
 */
?>

<div class="mb5">

	<?php if ( ! empty( $label ) ) { ?>

		<span class="label-class"><?php echo $label; ?></span>

	<?php } ?>

	<span class="value-class">

		<?php if ( ! empty( $value ) ) {

			echo function_exists( $value ) ? $value() : $value;

		} ?>

	</span>

</div>