customize_previewable_devices WordPress Filter Hook
The customize_previewable_devices WordPress hook allows you to customize the devices that are previewable in the Customizer. This hook is fired before the Customizer renders the control panel for the selected device.
apply_filters( 'customize_previewable_devices', array $devices ) #
Filters the available devices to allow previewing in the Customizer.
Description
See also
Parameters
- $devices
(array)List of devices with labels and default setting.
Source
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |