Skip to content

Commit

Permalink
Change pro upgrade link
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaydsouza committed Nov 29, 2024
1 parent 8e306dd commit 81459fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion includes/admin/settings/class-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

use WebberZone\Better_Search\Util\Helpers;

use function WebberZone\Better_Search\bsearch_freemius;

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
Expand Down Expand Up @@ -1131,7 +1133,7 @@ public static function after_setting_output( $output, $args ) {
if ( isset( $args['pro'] ) && $args['pro'] ) {
$output .= sprintf(
'<a class="bsearch_button bsearch_button_gold" target="_blank" href="%s" title="%s">%s</a>',
esc_url( 'https://webberzone.com/plugins/better-search/pro/' ),
esc_url( bsearch_freemius()->get_upgrade_url() ),
esc_attr__( 'Upgrade to Pro', 'better-search' ),
esc_html__( 'Upgrade to Pro', 'better-search' )
);
Expand Down

0 comments on commit 81459fd

Please sign in to comment.