is_product() | 是否为WooCommerce产品详情页面

函数

is_product()

描述

当前页面是单个产品详情页面时,返回 true, 是 is_singular 条件函数的封装。

参数

返回值

划重点

相关函数

来源

更新日志

示例