add_filter(
'hivepress/v1/forms/user_register',
function( $form ) {
// Create a new _terms field by copying the first _terms field
$new_terms = $form['fields']['_terms'];
$new_terms['label'] = 'New Terms 1'; // Setting new_label
// Add new _terms field
$form['fields']['_new_terms_1'] = $new_terms;
return $form;
},
1000
);
Both term links lead to the same page.
I want each link to lead to a different page.
Sorry, there’s no simple code snippet for this, it would require a custom implementation. If customizations beyond the available features are required for your site, please consider hiring someone for custom work https://fvrr.co/32e7LvY