首页 WordPress函数大全 has_image_size()

has_image_size()

2020-05-02 / 1951阅 / 悠然

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

has_image_size( string $name )

Check if an image size exists.

描述

参数

$name

(string)
(Required)
The image size to check.

返回

(bool) True if the image size exists, false if not.

大家谈论
    我的见解