Warning: This function has been deprecated.

codepress_get_lang() WordPress Function

The codepress_get_lang() function is used to get the current language code for the WordPress site. This function is used by the CodePress plugin to determine the language to use for syntax highlighting.

codepress_get_lang( string $filename ) #

Determines the language to use for CodePress syntax highlighting.


Parameters

$filename

(string)(Required)


Top ↑

Source

File: wp-admin/includes/deprecated.php

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


Top ↑

Changelog

Changelog
VersionDescription
3.0.0This function has been deprecated.
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More