dozent_generate_meta_tag( string $gen, string $type )

Output generator tag to aid debugging.


Parameters

$gen

(string) (Required) Generator.

$type

(string) (Required) Type.


Return

(string)


Source

File: includes/template-functions.php

	function dozent_generate_meta_tag( $gen, $type ) {
		switch ( $type ) {
			case 'html':
				$gen .= "\n" . '<meta name="generator" content="DozentLMS ' . esc_attr( DOZENT_VERSION ) . '">';
				break;
			case 'xhtml':
				$gen .= "\n" . '<meta name="generator" content="DozentLMS ' . esc_attr( DOZENT_VERSION ) . '" />';
				break;
		}

		return $gen;
	}