Title: Customizer Dev Tools
Author: Weston Ruter
Published: <strong>19 آگسٽ 2016</strong>
Last modified: 9 نومبر 2017

---

پلگ انس ڳولھيو

ھي پلگ ان **WordPress جي جديد 3 وڏين رليزز** سان آزمايو نه ويو آھي. اهو ٿي سگهي 
ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي 
وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

![](https://s.w.org/plugins/geopattern-icon/customizer-dev-tools.svg)

# Customizer Dev Tools

 کان: [Weston Ruter](https://profiles.wordpress.org/westonruter/)

[ڊائون لوڊ ڪريو](https://downloads.wordpress.org/plugin/customizer-dev-tools.0.1.1.zip)

 * [تفصيل](https://snd.wordpress.org/plugins/customizer-dev-tools/#description)
 * [جائزو](https://snd.wordpress.org/plugins/customizer-dev-tools/#reviews)
 * [ترقي](https://snd.wordpress.org/plugins/customizer-dev-tools/#developers)

 [سھائتا](https://wordpress.org/support/plugin/customizer-dev-tools/)

## وضاحت

The customizer is a single-page application that includes a lot of events, messages,
and state changes which drive the application. Being aware of these things is essential
for developing JavaScript for the customizer.

To use, activate the plugin, open the customizer and the browser console and enter:

    ```
    CustomizerDevTools.startLogging()
    ```

You can then either start interacting with the customizer app to see the log entries
from that point, or you can reload the customizer to see the log entries emitted
during the customizer initialization.

Not everything in the customizer is currently implemented to emit a log entry. File
an issue for any specific event that may be needed.

Features:

 * Start logging of customizer events via running `CustomizerDevTools.startLogging()`
   from your browser console, and stop via `CustomizerDevTools.stopLogging()`. In
   the former, you can filter what is logged out by passing a string or regular 
   expression (`RegExp` object) to match against the given log, or you can use the
   browser console’s built-in log filtering.
 * Logs out all events triggered on `wp.customize`.
 * Logs out additions and changes to to `wp.customize.state`.
 * Logs changes to the `active` and `expanded` states for panels, sections, and 
   controls.
 * Logs out messages sent and received by the pane (controls) and preview.
 * Logs out dynamic addition and removal of panels, sections, controls, partials,
   and settings (after the `ready` event triggers).
 * The `wp.customize` object from the Customizer preview is made persistently available
   from the parent frame via `CustomizerDevTools.previewCustomize`. This reference
   is updated whenever the preview refreshes, so you no longer have to change the
   frame window context to access this object.
 * In the same way, the current Customizer preview `window` is exposed as `CustomizerDevTools.
   previewWindow`. This is a shortcut for doing `wp.customize.previewer.targetWindow.
   get()`, and it has the added benefit of allowing the browser’s dev tools to provide
   auto-completion.

Make sure you also install the [Customizer Browser History](https://github.com/xwp/wp-customizer-browser-history)
and [Customize Snapshots](https://github.com/xwp/wp-customize-snapshots) plugins
so that you can reload the browser window and have the Customizer load with the 
same state as before you reloaded, including the persistence of the focused panel,
section, control, the previewed URL, the scroll position in the preview, and which
device is being previewed.

Requires PHP≥5.3.

## تصوير

[⌊Messages sent/received and events triggered during Customizer load.⌉⌊Messages 
sent/received and events triggered during Customizer load.⌉[

Messages sent/received and events triggered during Customizer load.

[⌊Logging the changing of the Site Title.⌉⌊Logging the changing of the Site Title
.⌉[

Logging the changing of the Site Title.

[⌊Logging the change of a nav menu item from a saved sate.⌉⌊Logging the change of
a nav menu item from a saved sate.⌉[

Logging the change of a nav menu item from a saved sate.

[⌊Expanding the Site Identity section and then navigating to edit a widget.⌉⌊Expanding
the Site Identity section and then navigating to edit a widget.⌉[

Expanding the Site Identity section and then navigating to edit a widget.

[⌊Changes to wp.customize.state when saving the customizer changes.⌉⌊Changes to 
wp.customize.state when saving the customizer changes.⌉[

Changes to `wp.customize.state` when saving the customizer changes.

[⌊State changes, messages, and events related to saving.⌉⌊State changes, messages,
and events related to saving.⌉[

State changes, messages, and events related to saving.

## جائزا

ھن پلگ ان لاءِ ڪي به رايا ناھن.

## تعاون ڪندڙ & ڊولپرز

“Customizer Dev Tools” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو
آھي.

تعاون ڪندڙ

 *   [ Weston Ruter ](https://profiles.wordpress.org/westonruter/)
 *   [ XWP ](https://profiles.wordpress.org/xwp/)

[ترجمو ڪريو “Customizer Dev Tools” توهان جي ٻولي ۾.](https://translate.wordpress.org/projects/wp-plugins/customizer-dev-tools)

### ڊولپمينٽ ۾ دلچسپي؟

[ڪوڊ براؤز ڪريو](https://plugins.trac.wordpress.org/browser/customizer-dev-tools/)،
چيڪ ڪريو [SVN مخزن](https://plugins.svn.wordpress.org/customizer-dev-tools/)، يا
رڪنيت حاصل ڪريو [ڊولپمينٽ لاگ](https://plugins.trac.wordpress.org/log/customizer-dev-tools/)
پاران [RSS](https://plugins.trac.wordpress.org/log/customizer-dev-tools/?limit=100&mode=stop_on_copy&format=rss).

## لاگ تبدیل ڪريو

#### 0.1.1 [2017-11-14]

 * Add setting change listener for settings in preview.
 * Tested up to 4.9.

#### 0.1.0 [2016-08-18]

Initial release

## ميٽا

 *  Version **0.1.1**
 *  Last updated **9 سالَ اڳ**
 *  Active installations **10 کان گھٽ**
 *  WordPress version ** 4.7 يا وڌيڪ **
 *  Tested up to **4.9.29**
 *  Language
 * [English (US)](https://wordpress.org/plugins/customizer-dev-tools/)
 * Tags
 * [customize](https://snd.wordpress.org/plugins/tags/customize/)[customizer](https://snd.wordpress.org/plugins/tags/customizer/)
   [debug](https://snd.wordpress.org/plugins/tags/debug/)[debugging](https://snd.wordpress.org/plugins/tags/debugging/)
   [dev-tools](https://snd.wordpress.org/plugins/tags/dev-tools/)
 *  [ترقي يافته ڏيک](https://snd.wordpress.org/plugins/customizer-dev-tools/advanced/)

## درجه بندي

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/customizer-dev-tools/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/customizer-dev-tools/reviews/)

## تعاون ڪندڙ

 *   [ Weston Ruter ](https://profiles.wordpress.org/westonruter/)
 *   [ XWP ](https://profiles.wordpress.org/xwp/)

## سھائتا

چوڻ لاءِ ڪجهه آهي؟ مدد گهرجي؟

 [ڏسو سپورٽ فورم](https://wordpress.org/support/plugin/customizer-dev-tools/)