Gets the URL to switch to the user
if the User Switching plugin is active
public get_switch_to_url ( ) |
/** * Wrapper for RCP_Member->get_switch_to_url() * * @access public * @since 2.1 */ function rcp_get_switch_to_url( $user_id = 0 ) { if( empty( $user_id ) ) { return; } $member = new RCP_Member( $user_id ); return $member->get_switch_to_url(); }