W3cubDocs

/WordPress

codepress_get_lang( string $filename )

This function has been deprecated.

Determines the language to use for CodePress syntax highlighting.

Parameters

$filename

(string) (Required)

Source

File: wp-admin/includes/deprecated.php

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

Changelog

Version Description
3.0.0 This function has been deprecated.
2.8.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/codepress_get_lang