WordPress at a glance
function is not described

WP_Customize_Manager::customize_preview_loading_style() public WP 4.2.0

Print CSS for loading indicators for the Customizer preview.

{} It's a method of the class: WP_Customize_Manager{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Customize_Manager = new WP_Customize_Manager();
$WP_Customize_Manager->customize_preview_loading_style();

Changelog

Since 4.2.0 Introduced.

Code of WP_Customize_Manager::customize_preview_loading_style() WP 5.7.2

<?php
public function customize_preview_loading_style() {
	?>
	<style>
		body.wp-customizer-unloading {
			opacity: 0.25;
			cursor: progress !important;
			-webkit-transition: opacity 0.5s;
			transition: opacity 0.5s;
		}
		body.wp-customizer-unloading * {
			pointer-events: none !important;
		}
		form.customize-unpreviewable,
		form.customize-unpreviewable input,
		form.customize-unpreviewable select,
		form.customize-unpreviewable button,
		a.customize-unpreviewable,
		area.customize-unpreviewable {
			cursor: not-allowed !important;
		}
	</style>
	<?php
}