Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var dirtyCustomized = {};
- wp.customize.each(function (value, key) {
- if (value._dirty) {
- dirtyCustomized[key] = value();
- }
- });
- console.log('the changed (dirty) settings: (' +
- Object.keys(dirtyCustomized).length + ') ', dirtyCustomized)
Add Comment
Please, Sign In to add comment