true, 'with_tags' => true, ); $client_info = MainWP_DB_Client::instance()->get_wp_client_by( 'client_id', $client_id, ARRAY_A, $params ); $client_status = ''; if ( 0 === intval( $client_info['suspended'] ) ) { $client_status = '' . esc_html__( 'Active', 'mainwp' ) . ''; } elseif ( 1 === intval( $client_info['suspended'] ) ) { $client_status = '' . esc_html__( 'Suspended', 'mainwp' ) . ''; } elseif ( 2 === intval( $client_info['suspended'] ) ) { $client_status = '' . esc_html__( 'Lead', 'mainwp' ) . ''; } elseif ( 3 === intval( $client_info['suspended'] ) ) { $client_status = '' . esc_html__( 'Lost', 'mainwp' ) . ''; } $client_contacts = MainWP_DB_Client::instance()->get_wp_client_contact_by( 'client_id', $client_id, ARRAY_A ); // phpcs:ignore WordPress.Security.NonceVerification,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized ?>

.