dozent_empty_content( bool $echo = true )

Dozent Empty content


Description

Show empty content template where data is not available

Example usage:

dozent_empty_content();

Parameters

$echo

(bool) (Optional)

Default value: true


Return

(mixed|void)


Source

File: includes/template-functions.php

	function dozent_empty_content( $echo = true ) {

		ob_start();
		dozent_load_template( 'global.empty-content' );
		$output = apply_filters( 'dozent_empty_content', ob_get_clean() );

		if ( $echo ) {
			echo $output;
		}

		return $output;
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.