Initial commit

This commit is contained in:
Alexander Agnarson 2020-03-11 14:44:42 +01:00
commit b0607606ae
369 changed files with 85494 additions and 0 deletions

View file

@ -0,0 +1,14 @@
/* global wp, _customizePostPreviewedQueriedObject */
jQuery( document ).ready( function() {
var self = {
queriedPost: ( ! _.isUndefined( _customizePostPreviewedQueriedObject ) ) ? _customizePostPreviewedQueriedObject : null
};
// Send the queried post object to the Customizer pane when ready.
wp.customize.bind( 'preview-ready', function() {
wp.customize.preview.bind( 'active', function() {
wp.customize.preview.send( 'queried-post', self.queriedPost );
} );
} );
} );