get_option( 'show_feedback_suggestion_email', 'documentor_single', '' ) ? : get_option( 'admin_email' ); if ( ! documentor()->get_option( 'show_feedback_buttons', 'documentor_single', true ) || ! documentor()->get_option( 'show_feedback_suggestion', 'documentor_single', false ) || ! $admin_email ) { return; } $from = ''; if ( is_user_logged_in() ) { $user = wp_get_current_user(); if ( $user->display_name ) { $from = $user->display_name; } if ( $user->user_email ) { $from .= ( $from ? ' <' : '' ) . $user->user_email . ( $from ? '>' : '' ); } } // phpcs:enable ?>