WordPress开发者和主题制作者的搜索引擎



customize_previewable_devices ›

Since4.5.0
已弃用n/a
apply_filters( 'customize_previewable_devices', $devices )
参数:
  • (array) $devices List of devices with labels and default setting.
    Required: Yes
查看:
  • WP_Customize_Manager::get_previewable_devices()
定义在:
文档:

Filters the available devices to allow previewing in the Customizer.





源码

$devices = apply_filters( 'customize_previewable_devices', $devices );