Skip to content

Commit

Permalink
[pricing] [filter] Add new filter to enqueue a CSS to the pricing page.
Browse files Browse the repository at this point in the history
  • Loading branch information
swashata committed Nov 26, 2024
1 parent 427708a commit 1945153
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/pricing.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@

wp_enqueue_script( 'freemius-pricing', $pricing_js_url );

$pricing_css_path = $fs->apply_filters( 'pricing/css_path', null );
if ( is_string( $pricing_css_path ) ) {
wp_enqueue_style( 'freemius-pricing', fs_asset_url( $pricing_css_path ) );
}

$has_tabs = $fs->_add_tabs_before_content();

if ( $has_tabs ) {
Expand Down

0 comments on commit 1945153

Please sign in to comment.