Skip to content

Commit 1945153

Browse files
committed
[pricing] [filter] Add new filter to enqueue a CSS to the pricing page.
1 parent 427708a commit 1945153

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

templates/pricing.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@
6969

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

72+
$pricing_css_path = $fs->apply_filters( 'pricing/css_path', null );
73+
if ( is_string( $pricing_css_path ) ) {
74+
wp_enqueue_style( 'freemius-pricing', fs_asset_url( $pricing_css_path ) );
75+
}
76+
7277
$has_tabs = $fs->_add_tabs_before_content();
7378

7479
if ( $has_tabs ) {

0 commit comments

Comments
 (0)