Skip to content

Commit a5af309

Browse files
Merge pull request #923 from Codeinwp/enhancement/922
Add new filter for container attributes
2 parents 9bdac9f + 93958c4 commit a5af309

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

classes/Visualizer/Module/Frontend.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,8 @@ public function renderChart( $atts ) {
341341
$attributes['data-lazy-limit'] = $atts['lazy'];
342342
}
343343

344+
$attributes = apply_filters( 'visualizer_container_attributes', $attributes, $chart->ID );
345+
344346
$chart = apply_filters( 'visualizer_schedule_refresh_chart', $chart, $chart->ID, false );
345347

346348
// Get and update settings.

0 commit comments

Comments
 (0)