' . esc_html__( 'You need to log in to edit your profile.', 'easy-digital-downloads' ) . '
'; echo edd_login_form(); // WPCS: XSS ok. } add_action( 'edd_profile_editor_logged_out', 'edd_profile_editor_logged_out' ); /** * Output a message on the login form when a user is already logged in. * * This remains mainly for backwards compatibility. * * @since 2.8 */ function edd_login_form_logged_in() { echo '' . esc_html__( 'You are already logged in', 'easy-digital-downloads' ) . '
'; } add_action( 'edd_login_form_logged_in', 'edd_login_form_logged_in' );