codepress_get_lang()WP 2.8.0

Deprecated since 3.0.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Determines the language to use for CodePress syntax highlighting.

No Hooks.

Returns

null. Nothing (null).

Usage

codepress_get_lang( $filename );
$filename(string) (required)
.

Changelog

Since 2.8.0 Introduced.
Deprecated since 3.0.0

codepress_get_lang() code WP 6.8.1

function codepress_get_lang( $filename ) {
	_deprecated_function( __FUNCTION__, '3.0.0' );
}