woocommerce_cached_widget_id

woocommerce_cached_widget_id

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_cached_widget_id') is found 1 times:

  • /includes/abstracts/abstract-wc-widget.php line 406

    Warning: Undefined array key 408 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 409 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 410 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 411 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    402
    403
    404
    405
    406
    407
    408
            } else {
                $widget_id_for_cache = $widget_id . '-' . ( is_ssl() ? 'https' : 'http' );
            }
     
            return apply_filters( 'woocommerce_cached_widget_id', $widget_id_for_cache );
        }
    }

See this hook used in plugins: