custom post type plugin error

I followed the following to set up a plugin for custom post types: https://kinsta.com/blog/wordpress-custom-post-types/#register But i am getting the error: Parse error: syntax error, unexpected ”, $args ); ‘ (T_CONSTANT_ENCAPSED_STRING), expecting ‘)’ in D:xampphtdocssimplerPRwp-contentpluginsgoldnuggs-custom-post-typegoldnuggs-cpt.php on line 48 Can anyone see my mistake? <?php /* Plugin Name: Register Custom Post Types */ function goldnuggs_register_post_type() { $labels … Read more

Using a post-signup hook to get user details

Update: I got this working with a different hook user_register. It looks like wpmu_activate_user was never triggering. I would still like to have this happen after the user verifies and sets a password though. Can anyone help? Current Code: function xxx_whmcs_signup($user_id) { //Get User Fields $user_info2 = get_userdata($user_id); $id = $user_info2->ID; //Get Custom Fields $first_name … Read more