Skip to content

Commit 427708a

Browse files
committed
[pricing] [filter] Respect the plugin_icon filter and add new filter to configure single package mode of the pricing app.
1 parent 742bc39 commit 427708a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/pricing.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@
9595
'unique_affix' => $fs->get_unique_affix(),
9696
'show_annual_in_monthly' => $fs->apply_filters( 'pricing/show_annual_in_monthly', true ),
9797
'license' => $fs->has_active_valid_license() ? $fs->_get_license() : null,
98+
'plugin_icon' => $fs->get_local_icon_url(),
99+
'disable_single_package' => $fs->apply_filters( 'pricing/disable_single_package', false ),
98100
), $query_params );
99101

100102
wp_add_inline_script( 'freemius-pricing', 'Freemius.pricing.new( ' . json_encode( $pricing_config ) . ' )' );

0 commit comments

Comments
 (0)