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
179      </form>
180      <div id="customize-preview" class="wp-full-overlay-main"></div>
181      <?php
182
183      /**
184       * Print Customizer control scripts in the footer.
185       *
186       * @since 3.4.0
187       */
188      do_action( 'customize_controls_print_footer_scripts' );
189
190      /*
191       * If the frontend and the admin are served from the same domain, load the
192       * preview over ssl if the customizer is being loaded over ssl. This avoids
193       * insecure content warnings. This is not attempted if the admin and frontend
194       * are on different domains to avoid the case where the frontend doesn't have
195       * ssl certs. Domain mapping plugins can allow other urls in these conditions
196       * using the customize_allowed_urls filter.
197       */