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

Top ↑

See also


Top ↑

Parameters

$devices

(array)List of devices with labels and default setting.


Top ↑

Source

File: wp-includes/class-wp-customize-manager.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More