Skip to content

Commit 0a39442

Browse files
committed
fix: update product creation link in setup wizard for correct taxonomy
1 parent 97af2a1 commit 0a39442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/admin/class-setup-wizard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ public function complete_step() {
11491149
<ul class="wzkb-setup-next-actions-horizontal">
11501150
<?php if ( $multi_product ) : ?>
11511151
<li class="setup-product">
1152-
<a class="button button-primary button-large" href="<?php echo esc_url( admin_url( 'post-new.php?post_type=wzkb_product' ) ); ?>">
1152+
<a class="button button-primary button-large" href="<?php echo esc_url( admin_url( 'edit-tags.php?taxonomy=wzkb_product&post_type=wz_knowledgebase' ) ); ?>">
11531153
<span class="dashicons dashicons-plus-alt"></span>
11541154
<?php esc_html_e( 'Create your first product', 'knowledgebase' ); ?>
11551155
</a>

0 commit comments

Comments
 (0)