enqueue_block_styles_assets

Advertisement

Summery Summery

Function responsible for enqueuing the styles required for block styles functionality on the editor and on the frontend.

Syntax Syntax

enqueue_block_styles_assets()

Source Source

File: wp-includes/script-loader.php

			}
		} else {
			$attributes_string .= sprintf( ' %1$s="%2$s"', esc_attr( $attribute_name ), esc_attr( $attribute_value ) );
		}
	}

	return $attributes_string;
}

/**
 * Formats `<script>` loader tags.
 *
 * It is possible to inject attributes in the `<script>` tag via the {@see 'wp_script_attributes'} filter.
 * Automatically injects type attribute if needed.

Advertisement

Changelog Changelog

Changelog
Version Description
5.3.0 Introduced.

Advertisement

Leave a Reply