codepress_get_lang

The timeline below displays how wordpress function codepress_get_lang has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.3

/**
 * Determines the language to use for CodePress syntax highlighting.
 *
 * @since 2.8.0
 * @deprecated 3.0.0
 *
 * @param string $filename
 */
function codepress_get_lang($filename)
{
    _deprecated_function(__FUNCTION__, '3.0.0');
}

WordPress Version: 4.6

/**
 * Determines the language to use for CodePress syntax highlighting.
 *
 * @since 2.8.0
 * @deprecated 3.0.0
 *
 * @param string $filename
**/
function codepress_get_lang($filename)
{
    _deprecated_function(__FUNCTION__, '3.0.0');
}

WordPress Version: 4.2

/**
 * Determines the language to use for CodePress syntax highlighting.
 *
 * @since 2.8.0
 * @deprecated 3.0.0
 *
 * @param string $filename
**/
function codepress_get_lang($filename)
{
    _deprecated_function(__FUNCTION__, '3.0');
}

WordPress Version: 3.7

/**
 * Determines the language to use for CodePress syntax highlighting.
 *
 * @since 2.8.0
 * @deprecated 3.0.0
 *
 * @param string $filename
**/
function codepress_get_lang($filename)
{
    _deprecated_function(__FUNCTION__, '3.0');
    return;
}