In header.php Then in functions.php This will replace the class “sub-menu” to “my-class”.
Replace with your post type and taxonomy query. WP Query :
Below code will create new admin account named newadmin with the password pass1231. You can change ‘newadmin’, ‘pass1231’, ‘firstname lastname’, ’firstname.lastname@example.org’ field as per your requirement but leave other data as is.