Skip to content

Commit

Permalink
adding modifier init
Browse files Browse the repository at this point in the history
  • Loading branch information
jagdish1o1 committed Jul 19, 2024
1 parent 989a621 commit e6c26c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions includes/modifier/rankmath.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
class LGP_RankMath_Modifier {

public function register() {
add_action('plugins_loaded', array($this, 'init'));
}

public function init() {
if ($this->is_rankmath_active()) {
add_filter('rank_math/frontend/canonical', array($this, 'lgp_rankmath_canonical'));
}
Expand Down
2 changes: 1 addition & 1 deletion wp-leadgen-pro.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: WP Leadgen Pro
* Description: Plugin to integration with wp leadgen pro platform.
* Version: 1.0.5
* Version: 1.0.6
* Author: WP Leadgen Pro
* Author URI: https://wpleadgen.pro
* License: GPLv2 or later
Expand Down

0 comments on commit e6c26c2

Please sign in to comment.