首页 WordPress函数大全 get_site_icon_url()

get_site_icon_url()

2020-05-01 / 4966阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_site_icon_url( int $size = 512, string $url = '', int $blog_id )

Returns the Site Icon URL.

描述

参数

$size

(int)
(Optional)
Size of the site icon. Default 512 (pixels).

Default value: 512

$url

(string)
(Optional)
Fallback url if no site icon is found.

Default value: ''

$blog_id

(int)
(Optional)
ID of the blog to get the site icon for. Default current blog.

返回

(string) Site Icon URL.

大家谈论
    我的见解