styles_inline_size_limit

styles_inline_size_limit

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('styles_inline_size_limit') is found 1 times:

  • /wp-includes/script-loader.php line 2964
    2960
    2961
    2962
    2963
    2964
    2965
    2966
    2967
    2968
    2969
    2970
    * @since 5.8.0
     *
     * @param int $total_inline_limit The file-size threshold, in bytes. Default 20000.
     */
    $total_inline_limit = apply_filters( 'styles_inline_size_limit', $total_inline_limit );
     
    $styles = array();
     
    // Build an array of styles that have a path defined.
    foreach ( $wp_styles->queue as $handle ) {
        if ( ! isset( $wp_styles->registered[ $handle ] ) ) {