Skip to content

Commit

Permalink
refactor: update settings page url (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaHungDinh authored May 2, 2024
1 parent 3be6c99 commit e656183
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion give-activecampaign.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public function activation_banner() {
'file' => GIVE_ACTIVECAMPAIGN_FILE,
'name' => esc_html__( 'ActiveCampaign', 'give-activecampaign' ),
'version' => GIVE_ACTIVECAMPAIGN_VERSION,
'settings_url' => admin_url( 'edit.php?post_type=give_forms&page=give-settings&tab=give-activecampaign&section=activecampaign-settings' ),
'settings_url' => admin_url( 'edit.php?post_type=give_forms&page=give-settings&tab=activecampaign' ),
'documentation_url' => 'http://docs.givewp.com/addon-activecampaign',
'support_url' => 'https://givewp.com/support/',
'testing' => false, // Never leave true.
Expand Down
2 changes: 1 addition & 1 deletion includes/activation.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function give_activecampaign_plugin_action_links( $actions ) {
$new_actions = array(
'settings' => sprintf(
'<a href="%1$s">%2$s</a>',
admin_url( 'edit.php?post_type=give_forms&page=give-settings&tab=activecampaign&section=activecampaign-settings' ),
admin_url( 'edit.php?post_type=give_forms&page=give-settings&tab=activecampaign' ),
esc_html__( 'Settings', 'give-activecampaign' )
),
);
Expand Down

0 comments on commit e656183

Please sign in to comment.