Skip to content

Commit 03185a4

Browse files
committed
fix bgtfw_upgrade_url_pro_features filter
1 parent acf035a commit 03185a4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/includes/class-boldgrid-framework.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,8 +594,6 @@ private function define_admin_hooks() {
594594
$boldgrid_ppb = new Boldgrid_Framework_PPB( $this->configs );
595595
$pro_feature_cards = new BoldGrid_Framework_Pro_Feature_Cards( $this->configs );
596596

597-
$this->loader->add_filter( 'bgtfw_upgrade_url_pro_features', $pro_feature_cards, 'get_upgrade_url', 0 );
598-
599597
// This adds Pro Feature notice counts to the admin menu.
600598
$this->loader->add_action( 'admin_menu', $pro_feature_cards, 'show_notice_counts' );
601599

src/includes/pro-feature-cards/class-boldgrid-framework-pro-feature-cards.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ class BoldGrid_Framework_Pro_Feature_Cards {
4848
*/
4949
public function __construct( $configs ) {
5050
$this->configs = $configs;
51-
$this->upgrade_url = apply_filters( 'bgtfw_upgrade_url_pro_features', 'upgrade_url' );
51+
$this->upgrade_url = apply_filters(
52+
'bgtfw_upgrade_url_pro_features',
53+
'https://boldgrid.com/wordpress-themes/crio/?utm_source=Crio_-_Pro_Features&utm_medium=Button&utm_campaign=Crio_Pro_Features'
54+
);
5255
}
5356

5457
/**

0 commit comments

Comments
 (0)