wp_maybe_inline_styles


wp_maybe_inline_styles ( No parameters )

Defined at:

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 );

Related Functions

wp_add_inline_style, wp_maybe_decline_date, wp_style_engine_get_styles, wp_ajax_inline_save, wp_tinymce_inline_scripts

Top Google Results

User discussions

wpseek mobile