函数原型
get_background_image(): string
函数描述
Retrieves background image for custom background.
是否弃用
未弃用
函数参数
无
函数返回值
string
函数位置
File: wp-includes/theme.php.
函数源码
function get_background_image() {
return get_theme_mod( 'background_image', get_theme_support( 'custom-background', 'default-image' ) );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |

