wp_maybe_inline_styles
wp_maybe_inline_styles ( No parameters )
- Introduced in WordPress: 5.8.0
- Deprecated in WordPress: —
Description
Allows small styles to be inlined.This improves performance and sustainability, and is opt-in. Stylesheets can opt in
by adding `path` data using `wp_style_add_data`, and defining the file's absolute path:
wp_style_add_data( $style_handle, 'path', $file_path );