About bp-custom
-
I see the code here about creating custom member types, but it didn’t say much about where to put this code. I assumed one of two places. Either in the bp-custom.php file wp-content/plugins/ or in functions.php. However, when i post the code below into both I did not get the desired effect.
function custom_member_types(){ bp_register_member_type("role", array("labels" => array("name" => "role", "singular_name" => "role"), "has_directory" => "coaches")); } add_action("bp_register_member_types", "custom_member_types");
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘About bp-custom’ is closed to new replies.