Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: customize_controls_print_footer_scripts

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
115                <a href="#" class="collapse-sidebar button-secondary" title="<?php esc_attr_e('Collapse Sidebar'); ?>">
116                     <span class="collapse-sidebar-arrow"></span>
117                     <span class="collapse-sidebar-label"><?php _e('Collapse'); ?></span>
118                </a>
119           </div>
120      </form>
121      <div id="customize-preview" class="wp-full-overlay-main"></div>
122      <?php
123
124      do_action( 'customize_controls_print_footer_scripts' );
125
126      // If the frontend and the admin are served from the same domain, load the
127      // preview over ssl if the customizer is being loaded over ssl. This avoids
128      // insecure content warnings. This is not attempted if the admin and frontend
129      // are on different domains to avoid the case where the frontend doesn't have
130      // ssl certs. Domain mapping plugins can allow other urls in these conditions
131      // using the customize_allowed_urls filter.
132
133      $allowed_urls = array( home_url('/') );