WordPress at a glance
function is not described

codepress_get_lang() WP 2.8.0

Deprecated in 3.0.0. It is no longer supported and can 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.


Nothing (null).


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

Code of codepress get lang: wp-admin/includes/deprecated.php WP 5.2.2

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