A WordPress-centric search engine for devs and theme authors



customize_previewable_devices ›

Since4.5.0
Deprecatedn/a
apply_filters( 'customize_previewable_devices', $devices )
Parameters:
  • (array) $devices List of devices with labels and default setting.
    Required: Yes
See:
  • WP_Customize_Manager::get_previewable_devices()
Defined at:
Codex:

Filters the available devices to allow previewing in the Customizer.





Source

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