File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
plugins/optimization-detective Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ There are currently **no settings** and no user interface for this plugin since
3333
3434When the `WP_DEBUG` constant is enabled, additional logging for Optimization Detective is added to the browser console.
3535
36- = Filters =
36+ = Hooks =
3737
3838**Filter:** `od_breakpoint_max_widths` (default: [480, 600, 782])
3939
@@ -68,7 +68,9 @@ Filters the sample size for a breakpoint's URL metrics on a given URL. The sampl
6868
6969`
7070<?php
71- add_filter( 'od_url_metrics_breakpoint_sample_size', function (): int { return 1; } );
71+ add_filter( 'od_url_metrics_breakpoint_sample_size', function (): int {
72+ return 1;
73+ } );
7274`
7375
7476**Filter:** `od_url_metric_storage_lock_ttl` (default: 1 minute)
You can’t perform that action at this time.
0 commit comments