← All changes
|
app/Modules/Templating/BlockTemplates/TemplateParts/ProductModalTemplatePart.php
+0
-4
1.3.21
→
1.6.5
View file →
| @@ -241,10 +241,8 @@ | ||
| 241 | 241 | return ''; |
| 242 | 242 | } |
| 243 | 243 | |
| 244 | 244 | // Apply filters before rendering (allows other plugins to modify) |
| 245 | - $content = apply_filters_deprecated('fluent_cart_template_part_content', [$content, self::SLUG, $args], '1.3.16', 'fluent_cart/template_part_content', 'Use fluent_cart/template_part_content instead of fluent_cart_template_part_content.'); | |
| 246 | - $content = apply_filters_deprecated('fluent_cart_template_part_content_' . self::SLUG, [$content, $args], '1.3.16', 'fluent_cart/template_part_content_' . self::SLUG, 'Use fluent_cart/template_part_content_' . self::SLUG . ' instead of fluent_cart_template_part_content_' . self::SLUG . '.'); | |
| 247 | 245 | $content = apply_filters('fluent_cart/template_part_content', $content, self::SLUG, $args); |
| 248 | 246 | $content = apply_filters('fluent_cart/template_part_content_' . self::SLUG, $content, $args); |
| 249 | 247 | |
| 250 | 248 | // Parse and render blocks |
| @@ -250,10 +248,8 @@ | ||
| 250 | 248 | // Parse and render blocks |
| 251 | 249 | $output = do_blocks($content); |
| 252 | 250 | |
| 253 | 251 | // Apply filters after rendering |
| 254 | - $output = apply_filters_deprecated('fluent_cart_template_part_output', [$output, self::SLUG, $args], '1.3.16', 'fluent_cart/template_part_output', 'Use fluent_cart/template_part_output instead of fluent_cart_template_part_output.'); | |
| 255 | - $output = apply_filters_deprecated('fluent_cart_template_part_output_' . self::SLUG, [$output, $args], '1.3.16', 'fluent_cart/template_part_output_' . self::SLUG, 'Use fluent_cart/template_part_output_' . self::SLUG . ' instead of fluent_cart_template_part_output_' . self::SLUG . '.'); | |
| 256 | 252 | $output = apply_filters('fluent_cart/template_part_output', $output, self::SLUG, $args); |
| 257 | 253 | $output = apply_filters('fluent_cart/template_part_output_' . self::SLUG, $output, $args); |
| 258 | 254 | |
| 259 | 255 | return $output; |