prefix . 'albert_oauth_clients'; // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- Direct query required to snapshot the client name at log time. $name = $wpdb->get_var( $wpdb->prepare( 'SELECT name FROM %i WHERE client_id = %s LIMIT 1', $table, $client_id ) ); return ( is_string( $name ) && $name !== '' ) ? $name : null; } }