Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: print_late_styles

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
1100      $wp_styles->do_footer_items();
1101
1102      /**
1103       * Filter whether to print the styles queued too late for the HTML head.
1104       *
1105       * @since 3.3.0
1106       *
1107       * @param bool $print Whether to print the 'late' styles. Default true.
1108       */
1109      if ( apply_filters( 'print_late_styles', true ) ) {
1110           _print_styles();
1111      }
1112
1113      $wp_styles->reset();
1114      return $wp_styles->done;
1115 }
1116
1117 /**
1118  * Print styles (internal use only)