customize_previewable_devices
apply_filters( ‘customize_previewable_devices’, array $devices )
筛选挂钩:筛选可用设备以允许在自定义项中预览。
Filter Hook: Filters the available devices to allow previewing in the Customizer.
说明(Description)
另见函数 WP_Customize_Manager::get_previewable_devices()()
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$devices | (array) | 具有标签和默认设置的设备列表。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.5.0 | wp-includes/class-wp-customize-manager.php:4944 | 1 | 0 |
customize_previewable_devices 为WP2原创文章,链接:https://www.wp2.cn/hook/customize_previewable_devices/