02/17/2014 at 12:35 pm
#280268
Keymaster
@ NetWarden
Hmmm, the remove dates didn’t work. Likely due to I’m on the dev version of Connections which has substantial changes. My guess would the issue is due to execution order.
Try editing the snippet. Change this line:
add_action( 'load-users_page_connections_link', 'netwarden_link' );
To:
add_action( 'load-users_page_connections_link', 'netwarden_link', 11 );
I don’t think I’ll be adding settings to configure the entry types. That is something only a relatively few want to do. I have the filters for the advanced users can hook into and change. I have already added a filter to alter the default type so that would not require a code change. Actually it is the same filter used to change the available entry types.
If you want to make that snippet I gave you forward compatible add the following to it:
$atts['default']['type'] = 'organization';
$atts['default']['visibility'] = 'public';
