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)
Source
File: wp-admin/includes/deprecated.php
function codepress_get_lang( $filename ) { _deprecated_function( __FUNCTION__, '3.0.0' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.0.0 | This function has been deprecated. |
2.8.0 | Introduced. |