我已在WP Job Manager 注册为开发人员页面上添加了密码字段。问题是它没有任何链接,请帮忙!
我需要帮助的是将这个密码实际添加到我的WooCommerce帐户中。
已通过代码段添加。
add_filter( 'resume_manager_resume_fields',
'wpjms_admin_resume_form_fields' );
function wpjms_admin_resume_form_fields( $fields ) {
$fields['user_password'] = array(
'label' => __( 'Your Password', 'job_manager' ),
'type' => 'password',
'placeholder' => 'password',
'description' => '',
'priority' => 11
);
return $fields;
}
// Add field to frontend
add_filter( 'submit_resume_form_fields',
'wpjms_frontend_resume_form_fields' );
function wpjms_frontend_resume_form_fields( $fields ) {
$fields['resume_fields']['user_password'] = array(
'label' => __( 'Your Password', 'job_manager' ),
'type' => 'password',
'placeholder' => 'password',
'required' => true,
'description' => '',
'priority' => 11
);
return $fields;
}