Skip to content

Commit

Permalink
[pricing] [filter] Respect the plugin_icon filter and add new filter …
Browse files Browse the repository at this point in the history
…to configure single package mode of the pricing app.
  • Loading branch information
swashata committed Nov 26, 2024
1 parent 742bc39 commit 427708a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/pricing.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
'unique_affix' => $fs->get_unique_affix(),
'show_annual_in_monthly' => $fs->apply_filters( 'pricing/show_annual_in_monthly', true ),
'license' => $fs->has_active_valid_license() ? $fs->_get_license() : null,
'plugin_icon' => $fs->get_local_icon_url(),
'disable_single_package' => $fs->apply_filters( 'pricing/disable_single_package', false ),
), $query_params );

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

0 comments on commit 427708a

Please sign in to comment.